#951872#951872
#951872 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.9% C 0.180 H 342.7°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #951872 |
|---|---|
| RGB | rgb(149, 24, 114) |
| HSL | hsl(317, 72%, 34%) |
| HSV | hsv(317, 84%, 58%) |
| CMYK | cmyk(0%, 83.9%, 23.5%, 41.6%) |
| CIE-LAB | lab(34.52, 56.94, -19.92) |
| CIE-LCH | lch(34.52, 60.32, 340.72°) |
| OKLab | oklab(45.95% 0.1719 -0.0535) |
| OKLCH | oklch(45.95% 0.18 342.7) |
| XYZ | xyz(15.7589, 8.2595, 16.6806) |
| Luminance | 0.0826 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.33
Warm Purple
#952E8F
ΔE00 6.25
Deep Magenta
#A0025C
ΔE00 6.42
Dark Magenta
#960056
ΔE00 6.59
Dark Fuchsia
#9D0759
ΔE00 6.82
Darkmagenta
#8B008B
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#951872 #18953B
analogous
#7A1895 #951872 #951834
triadic
#951872 #729518 #187295
tetradic
#951872 #957A18 #18953B #183495
square
#951872 #957A18 #18953B #183495
split-complementary
#951872 #349518 #18957A
monochromatic
#2C0721 #60104A #951872 #CA209A #E146B6
Accessibility & contrast
On white
7.92
#951872 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#951872 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #951872
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##951872 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##951872 | 1.00 | 7.92 | 2.65 | 7.92 |
| #FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#284474
Deuteranopia (green-blind)
#50586F
Tritanopia (blue-blind)
#9F1945
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #951872; /* rgb */ color: rgb(149, 24, 114); /* oklch */ color: oklch(45.9% 0.180 342.7);
Tailwind
colors: {
custom: {
50: '#b8669a',
500: '#951872',
950: '#000000',
},
}SCSS
$custom: #951872; $custom-light: #b8669a; $custom-dark: #000000;
JSON
{
"hex": "#951872",
"rgb": {
"r": 149,
"g": 24,
"b": 114
},
"hsl": {
"h": 316.8,
"s": 72.254,
"l": 33.922
},
"oklch": {
"l": 0.45949,
"c": 0.18,
"h": 342.7
},
"luminance": 0.08258
}Semantic roles & 50–950 ramp
primary
#951872
secondary
#46C269
accent
#EF6C39
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E