#912474#912474
#912474 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.3% C 0.167 H 340.8°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).
Color values
| HEX | #912474 |
|---|---|
| RGB | rgb(145, 36, 116) |
| HSL | hsl(316, 60%, 35%) |
| HSV | hsv(316, 75%, 57%) |
| CMYK | cmyk(0%, 75.2%, 20%, 43.1%) |
| CIE-LAB | lab(35.09, 52.72, -20.35) |
| CIE-LCH | lch(35.09, 56.51, 338.89°) |
| OKLab | oklab(46.26% 0.1577 -0.0548) |
| OKLCH | oklch(46.26% 0.167 340.8) |
| XYZ | xyz(15.4608, 8.5440, 17.3545) |
| Luminance | 0.0854 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.42
Warm Purple
#952E8F
ΔE00 5.48
Bruise
#7E4071
ΔE00 6.48
Darkish Purple
#751973
ΔE00 6.96
Light Eggplant
#894585
ΔE00 7.03
Darkmagenta
#8B008B
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#912474 #249141
analogous
#772491 #912474 #91243E
triadic
#912474 #749124 #247491
tetradic
#912474 #917724 #249141 #243E91
square
#912474 #917724 #249141 #243E91
split-complementary
#912474 #3E9124 #249177
monochromatic
#2F0C26 #60184D #912474 #C2309B #D659B5
Accessibility & contrast
On white
7.75
#912474 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#912474 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #912474
7.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##912474 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##912474 | 1.00 | 7.75 | 2.71 | 7.75 |
| #FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D4776
Deuteranopia (green-blind)
#505971
Tritanopia (blue-blind)
#9A2749
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #912474; /* rgb */ color: rgb(145, 36, 116); /* oklch */ color: oklch(46.3% 0.167 340.8);
Tailwind
colors: {
custom: {
50: '#b56a9c',
500: '#912474',
950: '#000000',
},
}SCSS
$custom: #912474; $custom-light: #b56a9c; $custom-dark: #000000;
JSON
{
"hex": "#912474",
"rgb": {
"r": 145,
"g": 36,
"b": 116
},
"hsl": {
"h": 315.963,
"s": 60.221,
"l": 35.49
},
"oklch": {
"l": 0.46255,
"c": 0.16692,
"h": 340.8
},
"luminance": 0.08542
}Semantic roles & 50–950 ramp
primary
#912474
secondary
#56BA71
accent
#E36F44
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E