#9F1874#9F1874
#9F1874 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.8% C 0.187 H 345.2°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1874 |
|---|---|
| RGB | rgb(159, 24, 116) |
| HSL | hsl(319, 74%, 36%) |
| HSV | hsv(319, 85%, 62%) |
| CMYK | cmyk(0%, 84.9%, 27%, 37.6%) |
| CIE-LAB | lab(36.53, 59.52, -17.91) |
| CIE-LCH | lch(36.53, 62.15, 343.25°) |
| OKLab | oklab(47.78% 0.181 -0.0477) |
| OKLCH | oklch(47.78% 0.187 345.2) |
| XYZ | xyz(17.7779, 9.2872, 17.3760) |
| Luminance | 0.0929 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.66
Deep Magenta
#A0025C
ΔE00 5.56
Dark Fuchsia
#9D0759
ΔE00 6.11
Dark Magenta
#960056
ΔE00 6.38
Warm Purple
#952E8F
ΔE00 6.66
Magenta (survey)
#C20078
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1874 #189F43
analogous
#86189F #9F1874 #9F1831
triadic
#9F1874 #749F18 #18749F
tetradic
#9F1874 #9F8618 #189F43 #18319F
square
#9F1874 #9F8618 #189F43 #18319F
split-complementary
#9F1874 #319F18 #189F86
monochromatic
#350826 #6A104D #9F1874 #D4209B #E44DB4
Accessibility & contrast
On white
7.35
#9F1874 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#9F1874 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1874
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1874 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1874 | 1.00 | 7.35 | 2.86 | 7.35 |
| #FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D4876
Deuteranopia (green-blind)
#575E71
Tritanopia (blue-blind)
#AA1446
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9f1874; /* rgb */ color: rgb(159, 24, 116); /* oklch */ color: oklch(47.8% 0.187 345.2);
Tailwind
colors: {
custom: {
50: '#c0689c',
500: '#9f1874',
950: '#000000',
},
}SCSS
$custom: #9f1874; $custom-light: #c0689c; $custom-dark: #000000;
JSON
{
"hex": "#9f1874",
"rgb": {
"r": 159,
"g": 24,
"b": 116
},
"hsl": {
"h": 319.111,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.4778,
"c": 0.18718,
"h": 345.2
},
"luminance": 0.09285
}Semantic roles & 50–950 ramp
primary
#9F1874
secondary
#4DC673
accent
#F07237
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E