#8A2F49#8A2F49
#8A2F49 is a dark, vivid pink. Relative luminance 0.079; OKLCH L 44.6% C 0.125 H 6.2°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2F49 |
|---|---|
| RGB | rgb(138, 47, 73) |
| HSL | hsl(343, 49%, 36%) |
| HSV | hsv(343, 66%, 54%) |
| CMYK | cmyk(0%, 65.9%, 47.1%, 45.9%) |
| CIE-LAB | lab(33.81, 40.91, 5.15) |
| CIE-LCH | lch(33.81, 41.24, 7.18°) |
| OKLab | oklab(44.56% 0.1247 0.0136) |
| OKLCH | oklch(44.56% 0.125 6.2) |
| XYZ | xyz(12.7013, 7.9189, 7.1617) |
| Luminance | 0.0792 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 4.88
Purple Red
#990147
ΔE00 5.30
Mulberry
#920A4E
ΔE00 5.96
Red Wine
#8C0034
ΔE00 6.27
Cranberry
#9E003A
ΔE00 6.52
Wine
#722F37
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2F49 #2F8A70
analogous
#8A2F77 #8A2F49 #8A432F
triadic
#8A2F49 #498A2F #2F498A
tetradic
#8A2F49 #778A2F #2F8A70 #432F8A
square
#8A2F49 #778A2F #2F8A70 #432F8A
split-complementary
#8A2F49 #2F8A43 #2F778A
monochromatic
#2F1019 #5C1F31 #8A2F49 #B83F61 #CC6884
Accessibility & contrast
On white
8.13
#8A2F49 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#8A2F49 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2F49
8.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2F49 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2F49 | 1.00 | 8.13 | 2.58 | 8.13 |
| #FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#42444A
Deuteranopia (green-blind)
#5A5647
Tritanopia (blue-blind)
#962239
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8a2f49; /* rgb */ color: rgb(138, 47, 73); /* oklch */ color: oklch(44.6% 0.125 6.2);
Tailwind
colors: {
custom: {
50: '#b06d7b',
500: '#8a2f49',
950: '#000000',
},
}SCSS
$custom: #8a2f49; $custom-light: #b06d7b; $custom-dark: #000000;
JSON
{
"hex": "#8a2f49",
"rgb": {
"r": 138,
"g": 47,
"b": 73
},
"hsl": {
"h": 342.857,
"s": 49.189,
"l": 36.275
},
"oklch": {
"l": 0.44556,
"c": 0.12541,
"h": 6.2
},
"luminance": 0.07917
}Semantic roles & 50–950 ramp
primary
#8A2F49
secondary
#62B39C
accent
#D9B14F
background
#FBF6F7
surface
#F6ECED
border
#D0C7C8
text
#110709
muted
#807A7B