#A2104F

A color in the Red, Pink family

#a2104f is a color in the Red, Pink family: RGB(162, 16, 79), HSL(334°, 82%, 35%), CMYK(0%, 90%, 51%, 36%). Closest named color: brown. Contrast is 7.71:1 on white and 2.72:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#a2104f
RGBrgb(162 16 79)
RGB (legacy)rgb(162, 16, 79)
RGB %rgb(64% 6% 31%)
HSLhsl(334 82% 35%)
HSV / HSBhsv(334, 90%, 64%)
HWBhwb(334 6% 36%)
CMYKcmyk(0%, 90%, 51%, 36%)
CIELAB (D50)lab(35.76 57.66 5.13)
LCHlch(35.76 57.89 5.09)
OKLaboklab(0.4651 0.1782 0.0105)
OKLCHoklch(0.4651 0.1786 3.38)
Decimal10621007

Properties

Color ToneRed, Pink
Closest named colorbrown ΔE 6.9
Closest web-safe color#990066
Hue334°
Saturation (HSL / HSV)82% / 90%
Lightness (HSL)35%
Brightness or Value (HSV)64%
Luminance (Rec.601 / Rec.709)26% / 20%
Relative luminance (WCAG)0.0862
Red / Green / Blue162 / 16 / 79

WCAG 2.2 Contrast Ratio

On White (#ffffff)
7.71:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.72:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 84.9 / -17.1 · As background with white / black text: Lc -89.8 / 19.1

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #a2104f;
  --color-brand-oklch: oklch(46.51% 0.1786 3.38);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(162 16 79 / 50%); }
/* Tailwind CSS */
<div class="bg-[#a2104f] text-[#a2104f] border-[#a2104f]">