#951F4F#951F4F
#951F4F is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.0% C 0.157 H 1.7°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).
Color values
| HEX | #951F4F |
|---|---|
| RGB | rgb(149, 31, 79) |
| HSL | hsl(336, 66%, 35%) |
| HSV | hsv(336, 79%, 58%) |
| CMYK | cmyk(0%, 79.2%, 47%, 41.6%) |
| CIE-LAB | lab(33.85, 51.04, 1.57) |
| CIE-LCH | lch(33.85, 51.07, 1.77°) |
| OKLab | oklab(45.02% 0.1567 0.0046) |
| OKLCH | oklch(45.02% 0.157 1.7) |
| XYZ | xyz(14.2969, 7.9360, 8.1746) |
| Luminance | 0.0793 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.66
Mulberry
#920A4E
ΔE00 2.58
Purple Red
#990147
ΔE00 2.63
Violet Red
#A50055
ΔE00 3.25
Reddish Purple
#910951
ΔE00 3.35
Dark Fuchsia
#9D0759
ΔE00 3.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#951F4F #1F9565
analogous
#951F8A #951F4F #952A1F
triadic
#951F4F #4F951F #1F4F95
tetradic
#951F4F #8A951F #1F9565 #2A1F95
square
#951F4F #8A951F #1F9565 #2A1F95
split-complementary
#951F4F #1F952A #1F8A95
monochromatic
#300A19 #621434 #951F4F #C82A6A #DB538B
Accessibility & contrast
On white
8.12
#951F4F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#951F4F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #951F4F
8.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##951F4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##951F4F | 1.00 | 8.12 | 2.59 | 8.12 |
| #FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B4150
Deuteranopia (green-blind)
#5B584C
Tritanopia (blue-blind)
#A20234
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #951f4f; /* rgb */ color: rgb(149, 31, 79); /* oklch */ color: oklch(45.0% 0.157 1.7);
Tailwind
colors: {
custom: {
50: '#b96780',
500: '#951f4f',
950: '#000000',
},
}SCSS
$custom: #951f4f; $custom-light: #b96780; $custom-dark: #000000;
JSON
{
"hex": "#951f4f",
"rgb": {
"r": 149,
"g": 31,
"b": 79
},
"hsl": {
"h": 335.593,
"s": 65.556,
"l": 35.294
},
"oklch": {
"l": 0.45024,
"c": 0.15674,
"h": 1.7
},
"luminance": 0.07934
}Semantic roles & 50–950 ramp
primary
#951F4F
secondary
#51BF92
accent
#E9A43F
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#12070A
muted
#817A7C