#9E2F6B#9E2F6B
#9E2F6B is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.1% C 0.158 H 351.2°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2F6B |
|---|---|
| RGB | rgb(158, 47, 107) |
| HSL | hsl(328, 54%, 40%) |
| HSV | hsv(328, 70%, 62%) |
| CMYK | cmyk(0%, 70.3%, 32.3%, 38%) |
| CIE-LAB | lab(38.49, 51.04, -9.28) |
| CIE-LCH | lch(38.49, 51.88, 349.70°) |
| OKLab | oklab(49.05% 0.1558 -0.024) |
| OKLCH | oklch(49.05% 0.158 351.2) |
| XYZ | xyz(17.7718, 10.3657, 14.9719) |
| Luminance | 0.1036 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.58
Deep Magenta
#A0025C
ΔE00 4.73
Dark Fuchsia
#9D0759
ΔE00 5.02
Dark Magenta
#960056
ΔE00 5.96
Violet Red
#A50055
ΔE00 6.06
Magenta (survey)
#C20078
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2F6B #2F9E62
analogous
#9A2F9E #9E2F6B #9E2F33
triadic
#9E2F6B #6B9E2F #2F6B9E
tetradic
#9E2F6B #9E9A2F #2F9E62 #2F339E
square
#9E2F6B #9E9A2F #2F9E62 #2F339E
split-complementary
#9E2F6B #339E2F #2F9E9A
monochromatic
#40132B #6F214B #9E2F6B #C7438A #D572A8
Accessibility & contrast
On white
6.83
#9E2F6B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#9E2F6B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E2F6B
6.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2F6B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2F6B | 1.00 | 6.83 | 3.07 | 6.83 |
| #FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404E6D
Deuteranopia (green-blind)
#606268
Tritanopia (blue-blind)
#AA2849
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #9e2f6b; /* rgb */ color: rgb(158, 47, 107); /* oklch */ color: oklch(49.1% 0.158 351.2);
Tailwind
colors: {
custom: {
50: '#bf7095',
500: '#9e2f6b',
950: '#000000',
},
}SCSS
$custom: #9e2f6b; $custom-light: #bf7095; $custom-dark: #000000;
JSON
{
"hex": "#9e2f6b",
"rgb": {
"r": 158,
"g": 47,
"b": 107
},
"hsl": {
"h": 327.568,
"s": 54.146,
"l": 40.196
},
"oklch": {
"l": 0.49053,
"c": 0.15766,
"h": 351.2
},
"luminance": 0.10364
}Semantic roles & 50–950 ramp
primary
#9E2F6B
secondary
#6CBD91
accent
#DE8E4A
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#13080D
muted
#827B7E