#8A2F4B#8A2F4B
#8A2F4B is a dark, vivid pink. Relative luminance 0.079; OKLCH L 44.6% C 0.126 H 4.8°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2F4B |
|---|---|
| RGB | rgb(138, 47, 75) |
| HSL | hsl(342, 49%, 36%) |
| HSV | hsv(342, 66%, 54%) |
| CMYK | cmyk(0%, 65.9%, 45.7%, 45.9%) |
| CIE-LAB | lab(33.87, 41.12, 3.94) |
| CIE-LCH | lch(33.87, 41.31, 5.47°) |
| OKLab | oklab(44.62% 0.1255 0.0106) |
| OKLCH | oklch(44.62% 0.126 4.8) |
| XYZ | xyz(12.7687, 7.9458, 7.5165) |
| Luminance | 0.0794 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 4.65
Purple Red
#990147
ΔE00 5.19
Mulberry
#920A4E
ΔE00 5.53
Reddish Purple
#910951
ΔE00 6.19
Violet Red
#A50055
ΔE00 6.61
Wine (survey)
#80013F
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2F4B #2F8A6E
analogous
#8A2F79 #8A2F4B #8A412F
triadic
#8A2F4B #4B8A2F #2F4B8A
tetradic
#8A2F4B #798A2F #2F8A6E #412F8A
square
#8A2F4B #798A2F #2F8A6E #412F8A
split-complementary
#8A2F4B #2F8A41 #2F798A
monochromatic
#2F1019 #5C1F32 #8A2F4B #B83F64 #CC6887
Accessibility & contrast
On white
8.11
#8A2F4B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#8A2F4B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2F4B
8.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2F4B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2F4B | 1.00 | 8.11 | 2.59 | 8.11 |
| #FFFFFF | 8.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#42444C
Deuteranopia (green-blind)
#5A5649
Tritanopia (blue-blind)
#96233A
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #8a2f4b; /* rgb */ color: rgb(138, 47, 75); /* oklch */ color: oklch(44.6% 0.126 4.8);
Tailwind
colors: {
custom: {
50: '#b06d7d',
500: '#8a2f4b',
950: '#000000',
},
}SCSS
$custom: #8a2f4b; $custom-light: #b06d7d; $custom-dark: #000000;
JSON
{
"hex": "#8a2f4b",
"rgb": {
"r": 138,
"g": 47,
"b": 75
},
"hsl": {
"h": 341.538,
"s": 49.189,
"l": 36.275
},
"oklch": {
"l": 0.44617,
"c": 0.12589,
"h": 4.8
},
"luminance": 0.07944
}Semantic roles & 50–950 ramp
primary
#8A2F4B
secondary
#62B39A
accent
#D9AE4F
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#110709
muted
#807A7B