#912972#912972
#912972 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.6% C 0.160 H 342.1°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).
Color values
| HEX | #912972 |
|---|---|
| RGB | rgb(145, 41, 114) |
| HSL | hsl(318, 56%, 36%) |
| HSV | hsv(318, 72%, 57%) |
| CMYK | cmyk(0%, 71.7%, 21.4%, 43.1%) |
| CIE-LAB | lab(35.64, 50.63, -18.24) |
| CIE-LCH | lch(35.64, 53.82, 340.19°) |
| OKLab | oklab(46.62% 0.1518 -0.0489) |
| OKLCH | oklch(46.62% 0.16 342.1) |
| XYZ | xyz(15.5077, 8.8221, 16.8024) |
| Luminance | 0.0882 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.33
Bruise
#7E4071
ΔE00 5.89
Warm Purple
#952E8F
ΔE00 5.99
Light Eggplant
#894585
ΔE00 6.75
Deep Magenta
#A0025C
ΔE00 6.84
Dark Magenta
#960056
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#912972 #299148
analogous
#7C2991 #912972 #91293E
triadic
#912972 #729129 #297291
tetradic
#912972 #917C29 #299148 #293E91
square
#912972 #917C29 #299148 #293E91
split-complementary
#912972 #3E9129 #29917C
monochromatic
#320E27 #611C4C #912972 #C13698 #D362B1
Accessibility & contrast
On white
7.60
#912972 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#912972 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #912972
7.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##912972 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##912972 | 1.00 | 7.60 | 2.76 | 7.60 |
| #FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#324974
Deuteranopia (green-blind)
#525A70
Tritanopia (blue-blind)
#9A2A4A
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #912972; /* rgb */ color: rgb(145, 41, 114); /* oklch */ color: oklch(46.6% 0.160 342.1);
Tailwind
colors: {
custom: {
50: '#b56c9a',
500: '#912972',
950: '#000000',
},
}SCSS
$custom: #912972; $custom-light: #b56c9a; $custom-dark: #000000;
JSON
{
"hex": "#912972",
"rgb": {
"r": 145,
"g": 41,
"b": 114
},
"hsl": {
"h": 317.885,
"s": 55.914,
"l": 36.471
},
"oklch": {
"l": 0.46624,
"c": 0.15951,
"h": 342.1
},
"luminance": 0.08821
}Semantic roles & 50–950 ramp
primary
#912972
secondary
#5DB879
accent
#DF7549
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E