#951F72#951F72
#951F72 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.4% C 0.174 H 343.0°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #951F72 |
|---|---|
| RGB | rgb(149, 31, 114) |
| HSL | hsl(318, 66%, 35%) |
| HSV | hsv(318, 79%, 58%) |
| CMYK | cmyk(0%, 79.2%, 23.5%, 41.6%) |
| CIE-LAB | lab(35.17, 55.05, -18.90) |
| CIE-LCH | lch(35.17, 58.20, 341.05°) |
| OKLab | oklab(46.42% 0.1661 -0.0506) |
| OKLCH | oklch(46.42% 0.174 343) |
| XYZ | xyz(15.9223, 8.5861, 16.7351) |
| Luminance | 0.0858 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.37
Warm Purple
#952E8F
ΔE00 6.17
Deep Magenta
#A0025C
ΔE00 6.28
Dark Magenta
#960056
ΔE00 6.56
Dark Fuchsia
#9D0759
ΔE00 6.67
Bruise
#7E4071
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#951F72 #1F9542
analogous
#7D1F95 #951F72 #951F37
triadic
#951F72 #72951F #1F7295
tetradic
#951F72 #957D1F #1F9542 #1F3795
square
#951F72 #957D1F #1F9542 #1F3795
split-complementary
#951F72 #37951F #1F957D
monochromatic
#300A24 #62144B #951F72 #C82A99 #DB53B3
Accessibility & contrast
On white
7.73
#951F72 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#951F72 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #951F72
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##951F72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##951F72 | 1.00 | 7.73 | 2.72 | 7.73 |
| #FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D4674
Deuteranopia (green-blind)
#525A6F
Tritanopia (blue-blind)
#9F1F46
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #951f72; /* rgb */ color: rgb(149, 31, 114); /* oklch */ color: oklch(46.4% 0.174 343.0);
Tailwind
colors: {
custom: {
50: '#b8699a',
500: '#951f72',
950: '#000000',
},
}SCSS
$custom: #951f72; $custom-light: #b8699a; $custom-dark: #000000;
JSON
{
"hex": "#951f72",
"rgb": {
"r": 149,
"g": 31,
"b": 114
},
"hsl": {
"h": 317.797,
"s": 65.556,
"l": 35.294
},
"oklch": {
"l": 0.46423,
"c": 0.17362,
"h": 343
},
"luminance": 0.08584
}Semantic roles & 50–950 ramp
primary
#951F72
secondary
#51BF72
accent
#E9713F
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E