#951F71#951F71
#951F71 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.4% C 0.173 H 343.5°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #951F71 |
|---|---|
| RGB | rgb(149, 31, 113) |
| HSL | hsl(318, 66%, 35%) |
| HSV | hsv(318, 79%, 58%) |
| CMYK | cmyk(0%, 79.2%, 24.2%, 41.6%) |
| CIE-LAB | lab(35.13, 54.91, -18.34) |
| CIE-LCH | lch(35.13, 57.90, 341.53°) |
| OKLab | oklab(46.38% 0.1659 -0.0491) |
| OKLCH | oklch(46.38% 0.173 343.5) |
| XYZ | xyz(15.8657, 8.5635, 16.4370) |
| Luminance | 0.0856 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.19
Deep Magenta
#A0025C
ΔE00 6.07
Dark Magenta
#960056
ΔE00 6.34
Warm Purple
#952E8F
ΔE00 6.39
Dark Fuchsia
#9D0759
ΔE00 6.45
Bruise
#7E4071
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#951F71 #1F9543
analogous
#7E1F95 #951F71 #951F36
triadic
#951F71 #71951F #1F7195
tetradic
#951F71 #957E1F #1F9543 #1F3695
square
#951F71 #957E1F #1F9543 #1F3695
split-complementary
#951F71 #36951F #1F957E
monochromatic
#300A24 #62144B #951F71 #C82A97 #DB53B2
Accessibility & contrast
On white
7.74
#951F71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#951F71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #951F71
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##951F71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##951F71 | 1.00 | 7.74 | 2.71 | 7.74 |
| #FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D4673
Deuteranopia (green-blind)
#525A6E
Tritanopia (blue-blind)
#9F1F46
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #951f71; /* rgb */ color: rgb(149, 31, 113); /* oklch */ color: oklch(46.4% 0.173 343.5);
Tailwind
colors: {
custom: {
50: '#b8699a',
500: '#951f71',
950: '#000000',
},
}SCSS
$custom: #951f71; $custom-light: #b8699a; $custom-dark: #000000;
JSON
{
"hex": "#951f71",
"rgb": {
"r": 149,
"g": 31,
"b": 113
},
"hsl": {
"h": 318.305,
"s": 65.556,
"l": 35.294
},
"oklch": {
"l": 0.46376,
"c": 0.17299,
"h": 343.5
},
"luminance": 0.08562
}Semantic roles & 50–950 ramp
primary
#951F71
secondary
#51BF73
accent
#E9733F
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E