#951B6F#951B6F
#951B6F is a mid, vivid pink. Relative luminance 0.083; OKLCH L 46.0% C 0.176 H 344.3°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #951B6F |
|---|---|
| RGB | rgb(149, 27, 111) |
| HSL | hsl(319, 69%, 35%) |
| HSV | hsv(319, 82%, 58%) |
| CMYK | cmyk(0%, 81.9%, 25.5%, 41.6%) |
| CIE-LAB | lab(34.65, 55.78, -17.82) |
| CIE-LCH | lch(34.65, 58.56, 342.29°) |
| OKLab | oklab(46% 0.169 -0.0476) |
| OKLCH | oklch(46% 0.176 344.3) |
| XYZ | xyz(15.6563, 8.3229, 15.8178) |
| Luminance | 0.0832 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.78
Deep Magenta
#A0025C
ΔE00 5.71
Dark Magenta
#960056
ΔE00 5.90
Dark Fuchsia
#9D0759
ΔE00 6.09
Warm Purple
#952E8F
ΔE00 6.84
Reddish Purple
#910951
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#951B6F #1B9541
analogous
#7E1B95 #951B6F #951B32
triadic
#951B6F #6F951B #1B6F95
tetradic
#951B6F #957E1B #1B9541 #1B3295
square
#951B6F #957E1B #1B9541 #1B3295
split-complementary
#951B6F #32951B #1B957E
monochromatic
#2D0822 #611248 #951B6F #C92496 #DF4CB1
Accessibility & contrast
On white
7.88
#951B6F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#951B6F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #951B6F
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##951B6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##951B6F | 1.00 | 7.88 | 2.66 | 7.88 |
| #FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C4571
Deuteranopia (green-blind)
#52596C
Tritanopia (blue-blind)
#9F1A44
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #951b6f; /* rgb */ color: rgb(149, 27, 111); /* oklch */ color: oklch(46.0% 0.176 344.3);
Tailwind
colors: {
custom: {
50: '#b86798',
500: '#951b6f',
950: '#000000',
},
}SCSS
$custom: #951b6f; $custom-light: #b86798; $custom-dark: #000000;
JSON
{
"hex": "#951b6f",
"rgb": {
"r": 149,
"g": 27,
"b": 111
},
"hsl": {
"h": 318.689,
"s": 69.318,
"l": 34.51
},
"oklch": {
"l": 0.45997,
"c": 0.1756,
"h": 344.3
},
"luminance": 0.08321
}Semantic roles & 50–950 ramp
primary
#951B6F
secondary
#4BC170
accent
#EC733C
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070D
muted
#817A7E