#951F52#951F52
#951F52 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.1% C 0.158 H 360.0°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).
Color values
| HEX | #951F52 |
|---|---|
| RGB | rgb(149, 31, 82) |
| HSL | hsl(334, 66%, 35%) |
| HSV | hsv(334, 79%, 58%) |
| CMYK | cmyk(0%, 79.2%, 45%, 41.6%) |
| CIE-LAB | lab(33.94, 51.33, -0.24) |
| CIE-LCH | lch(33.94, 51.33, 359.73°) |
| OKLab | oklab(45.12% 0.1577 0) |
| OKLCH | oklch(45.12% 0.158 0) |
| XYZ | xyz(14.4085, 7.9806, 8.7627) |
| Luminance | 0.0798 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.22
Mulberry
#920A4E
ΔE00 2.25
Reddish Purple
#910951
ΔE00 2.78
Dark Fuchsia
#9D0759
ΔE00 2.89
Violet Red
#A50055
ΔE00 3.07
Purple Red
#990147
ΔE00 3.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#951F52 #1F9562
analogous
#951F8D #951F52 #95271F
triadic
#951F52 #52951F #1F5295
tetradic
#951F52 #8D951F #1F9562 #271F95
square
#951F52 #8D951F #1F9562 #271F95
split-complementary
#951F52 #1F9527 #1F8D95
monochromatic
#300A1A #621436 #951F52 #C82A6E #DB538E
Accessibility & contrast
On white
8.09
#951F52 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#951F52 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #951F52
8.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##951F52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##951F52 | 1.00 | 8.09 | 2.60 | 8.09 |
| #FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A4153
Deuteranopia (green-blind)
#5A584F
Tritanopia (blue-blind)
#A20536
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #951f52; /* rgb */ color: rgb(149, 31, 82); /* oklch */ color: oklch(45.1% 0.158 360.0);
Tailwind
colors: {
custom: {
50: '#b96782',
500: '#951f52',
950: '#000000',
},
}SCSS
$custom: #951f52; $custom-light: #b96782; $custom-dark: #000000;
JSON
{
"hex": "#951f52",
"rgb": {
"r": 149,
"g": 31,
"b": 82
},
"hsl": {
"h": 334.068,
"s": 65.556,
"l": 35.294
},
"oklch": {
"l": 0.45123,
"c": 0.15772,
"h": 360
},
"luminance": 0.07979
}Semantic roles & 50–950 ramp
primary
#951F52
secondary
#51BF8F
accent
#E99F3F
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#12070A
muted
#817A7C