#99227F#99227F
#99227F is a mid, vivid pink. Relative luminance 0.094; OKLCH L 48.0% C 0.181 H 338.6°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).
Color values
| HEX | #99227F |
|---|---|
| RGB | rgb(153, 34, 127) |
| HSL | hsl(313, 64%, 37%) |
| HSV | hsv(313, 78%, 60%) |
| CMYK | cmyk(0%, 77.8%, 17%, 40%) |
| CIE-LAB | lab(36.84, 56.92, -24.41) |
| CIE-LCH | lch(36.84, 61.93, 336.79°) |
| OKLab | oklab(47.96% 0.169 -0.0662) |
| OKLCH | oklch(47.96% 0.181 338.6) |
| XYZ | xyz(17.5401, 9.4504, 20.9749) |
| Luminance | 0.0945 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.74
Barney Purple
#A00498
ΔE00 5.10
Red Violet
#9E0168
ΔE00 5.44
Darkmagenta
#8B008B
ΔE00 6.24
Light Eggplant
#894585
ΔE00 6.73
Purple
#800080
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#99227F #22993C
analogous
#782299 #99227F #992244
triadic
#99227F #7F9922 #227F99
tetradic
#99227F #997822 #22993C #224499
square
#99227F #997822 #22993C #224499
split-complementary
#99227F #449922 #229978
monochromatic
#350C2C #671755 #99227F #CB2DA9 #DB5BBF
Accessibility & contrast
On white
7.27
#99227F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#99227F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #99227F
7.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##99227F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##99227F | 1.00 | 7.27 | 2.89 | 7.27 |
| #FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#294B81
Deuteranopia (green-blind)
#515D7C
Tritanopia (blue-blind)
#A2284E
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #99227f; /* rgb */ color: rgb(153, 34, 127); /* oklch */ color: oklch(48.0% 0.181 338.6);
Tailwind
colors: {
custom: {
50: '#bb6ba4',
500: '#99227f',
950: '#000000',
},
}SCSS
$custom: #99227f; $custom-light: #bb6ba4; $custom-dark: #000000;
JSON
{
"hex": "#99227f",
"rgb": {
"r": 153,
"g": 34,
"b": 127
},
"hsl": {
"h": 313.109,
"s": 63.636,
"l": 36.667
},
"oklch": {
"l": 0.47959,
"c": 0.18148,
"h": 338.6
},
"luminance": 0.09449
}Semantic roles & 50–950 ramp
primary
#99227F
secondary
#58BF6E
accent
#E76541
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F