#971F4B#971F4B
#971F4B is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.3% C 0.157 H 4.5°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).
Color values
| HEX | #971F4B |
|---|---|
| RGB | rgb(151, 31, 75) |
| HSL | hsl(338, 66%, 36%) |
| HSV | hsv(338, 79%, 59%) |
| CMYK | cmyk(0%, 79.5%, 50.3%, 40.8%) |
| CIE-LAB | lab(34.13, 51.25, 4.63) |
| CIE-LCH | lch(34.13, 51.46, 5.16°) |
| OKLab | oklab(45.26% 0.1569 0.0123) |
| OKLCH | oklch(45.26% 0.157 4.5) |
| XYZ | xyz(14.5238, 8.0693, 7.4480) |
| Luminance | 0.0807 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.67
Purple Red
#990147
ΔE00 2.27
Mulberry
#920A4E
ΔE00 3.75
Violet Red
#A50055
ΔE00 3.78
Reddish Purple
#910951
ΔE00 4.68
Purplish Red
#B0054B
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#971F4B #1F976B
analogous
#971F87 #971F4B #972F1F
triadic
#971F4B #4B971F #1F4B97
tetradic
#971F4B #87971F #1F976B #2F1F97
square
#971F4B #87971F #1F976B #2F1F97
split-complementary
#971F4B #1F972F #1F8797
monochromatic
#310A19 #641532 #971F4B #CA2964 #DC5486
Accessibility & contrast
On white
8.04
#971F4B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#971F4B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #971F4B
8.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##971F4B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##971F4B | 1.00 | 8.04 | 2.61 | 8.04 |
| #FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D414C
Deuteranopia (green-blind)
#5D5948
Tritanopia (blue-blind)
#A50032
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #971f4b; /* rgb */ color: rgb(151, 31, 75); /* oklch */ color: oklch(45.3% 0.157 4.5);
Tailwind
colors: {
custom: {
50: '#bb687d',
500: '#971f4b',
950: '#000000',
},
}SCSS
$custom: #971f4b; $custom-light: #bb687d; $custom-dark: #000000;
JSON
{
"hex": "#971f4b",
"rgb": {
"r": 151,
"g": 31,
"b": 75
},
"hsl": {
"h": 338,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.45261,
"c": 0.15735,
"h": 4.5
},
"luminance": 0.08067
}Semantic roles & 50–950 ramp
primary
#971F4B
secondary
#52BF97
accent
#E9AB3F
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B