#912E7A#912E7A
#912E7A is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.5% C 0.158 H 338.4°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #912E7A |
|---|---|
| RGB | rgb(145, 46, 122) |
| HSL | hsl(314, 52%, 37%) |
| HSV | hsv(314, 68%, 57%) |
| CMYK | cmyk(0%, 68.3%, 15.9%, 43.1%) |
| CIE-LAB | lab(36.71, 49.85, -21.61) |
| CIE-LCH | lch(36.71, 54.33, 336.57°) |
| OKLab | oklab(47.52% 0.1473 -0.0585) |
| OKLCH | oklch(47.52% 0.158 338.4) |
| XYZ | xyz(16.1672, 9.3803, 19.3677) |
| Luminance | 0.0938 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.30
Light Eggplant
#894585
ΔE00 5.30
Bruise
#7E4071
ΔE00 5.54
Red Violet
#9E0168
ΔE00 5.85
Barney Purple
#A00498
ΔE00 6.72
Darkmagenta
#8B008B
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#912E7A #2E9145
analogous
#762E91 #912E7A #912E49
triadic
#912E7A #7A912E #2E7A91
tetradic
#912E7A #91762E #2E9145 #2E4991
square
#912E7A #91762E #2E9145 #2E4991
split-complementary
#912E7A #49912E #2E9176
monochromatic
#34112C #631F53 #912E7A #BF3DA1 #D06AB8
Accessibility & contrast
On white
7.30
#912E7A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#912E7A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #912E7A
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##912E7A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##912E7A | 1.00 | 7.30 | 2.88 | 7.30 |
| #FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#324C7C
Deuteranopia (green-blind)
#515C78
Tritanopia (blue-blind)
#993250
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #912e7a; /* rgb */ color: rgb(145, 46, 122); /* oklch */ color: oklch(47.5% 0.158 338.4);
Tailwind
colors: {
custom: {
50: '#b46fa0',
500: '#912e7a',
950: '#000000',
},
}SCSS
$custom: #912e7a; $custom-light: #b46fa0; $custom-dark: #000000;
JSON
{
"hex": "#912e7a",
"rgb": {
"r": 145,
"g": 46,
"b": 122
},
"hsl": {
"h": 313.939,
"s": 51.832,
"l": 37.451
},
"oklch": {
"l": 0.4752,
"c": 0.15847,
"h": 338.4
},
"luminance": 0.09379
}Semantic roles & 50–950 ramp
primary
#912E7A
secondary
#64B777
accent
#DB6E4D
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080F
muted
#807B7E