#972862#972862
#972862 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.8% C 0.156 H 352.9°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).
Color values
| HEX | #972862 |
|---|---|
| RGB | rgb(151, 40, 98) |
| HSL | hsl(329, 58%, 37%) |
| HSV | hsv(329, 74%, 59%) |
| CMYK | cmyk(0%, 73.5%, 35.1%, 40.8%) |
| CIE-LAB | lab(35.95, 50.59, -7.53) |
| CIE-LCH | lch(35.95, 51.15, 351.53°) |
| OKLab | oklab(46.84% 0.1549 -0.0193) |
| OKLCH | oklch(46.84% 0.156 352.9) |
| XYZ | xyz(15.7268, 8.9806, 12.4581) |
| Luminance | 0.0898 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Magenta
#A0025C
ΔE00 3.32
Dark Fuchsia
#9D0759
ΔE00 3.34
Red Violet
#9E0168
ΔE00 3.86
Dark Magenta
#960056
ΔE00 3.95
Reddish Purple
#910951
ΔE00 4.44
Violet Red
#A50055
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972862 #28975D
analogous
#952897 #972862 #97282A
triadic
#972862 #629728 #286297
tetradic
#972862 #979528 #28975D #282A97
square
#972862 #979528 #28975D #282A97
split-complementary
#972862 #2A9728 #289795
monochromatic
#360E23 #671B43 #972862 #C73581 #D6649F
Accessibility & contrast
On white
7.51
#972862 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#972862 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #972862
7.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972862 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972862 | 1.00 | 7.51 | 2.80 | 7.51 |
| #FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B4864
Deuteranopia (green-blind)
#5B5C5F
Tritanopia (blue-blind)
#A31F41
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #972862; /* rgb */ color: rgb(151, 40, 98); /* oklch */ color: oklch(46.8% 0.156 352.9);
Tailwind
colors: {
custom: {
50: '#ba6c8e',
500: '#972862',
950: '#000000',
},
}SCSS
$custom: #972862; $custom-light: #ba6c8e; $custom-dark: #000000;
JSON
{
"hex": "#972862",
"rgb": {
"r": 151,
"g": 40,
"b": 98
},
"hsl": {
"h": 328.649,
"s": 58.115,
"l": 37.451
},
"oklch": {
"l": 0.46841,
"c": 0.15612,
"h": 352.9
},
"luminance": 0.08979
}Semantic roles & 50–950 ramp
primary
#972862
secondary
#5FBC8B
accent
#E19046
background
#FBF6F8
surface
#F7ECF0
border
#D0C7CB
text
#12070C
muted
#817A7D