#951F80#951F80
#951F80 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 47.1% C 0.183 H 336.6°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).
Color values
| HEX | #951F80 |
|---|---|
| RGB | rgb(149, 31, 128) |
| HSL | hsl(311, 66%, 35%) |
| HSV | hsv(311, 79%, 58%) |
| CMYK | cmyk(0%, 79.2%, 14.1%, 41.6%) |
| CIE-LAB | lab(35.85, 57.01, -26.63) |
| CIE-LCH | lch(35.85, 62.93, 334.96°) |
| OKLab | oklab(47.13% 0.1678 -0.0726) |
| OKLCH | oklch(47.13% 0.183 336.6) |
| XYZ | xyz(16.7810, 8.9296, 21.2577) |
| Luminance | 0.0893 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.41
Barney Purple
#A00498
ΔE00 4.55
Darkmagenta
#8B008B
ΔE00 5.07
Red Violet
#9E0168
ΔE00 6.07
Purple
#800080
ΔE00 6.14
Darkish Purple
#751973
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#951F80 #1F9534
analogous
#6F1F95 #951F80 #951F45
triadic
#951F80 #80951F #1F8095
tetradic
#951F80 #956F1F #1F9534 #1F4595
square
#951F80 #956F1F #1F9534 #1F4595
split-complementary
#951F80 #45951F #1F956F
monochromatic
#300A29 #621454 #951F80 #C82AAC #DB53C3
Accessibility & contrast
On white
7.54
#951F80 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#951F80 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #951F80
7.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##951F80 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##951F80 | 1.00 | 7.54 | 2.79 | 7.54 |
| #FFFFFF | 7.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#224983
Deuteranopia (green-blind)
#4C5B7D
Tritanopia (blue-blind)
#9D284E
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #951f80; /* rgb */ color: rgb(149, 31, 128); /* oklch */ color: oklch(47.1% 0.183 336.6);
Tailwind
colors: {
custom: {
50: '#b869a5',
500: '#951f80',
950: '#000000',
},
}SCSS
$custom: #951f80; $custom-light: #b869a5; $custom-dark: #000000;
JSON
{
"hex": "#951f80",
"rgb": {
"r": 149,
"g": 31,
"b": 128
},
"hsl": {
"h": 310.678,
"s": 65.556,
"l": 35.294
},
"oklch": {
"l": 0.47128,
"c": 0.18286,
"h": 336.6
},
"luminance": 0.08928
}Semantic roles & 50–950 ramp
primary
#951F80
secondary
#51BF65
accent
#E95D3F
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F