#9A1F7D#9A1F7D
#9A1F7D is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.8% C 0.184 H 339.8°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #9A1F7D |
|---|---|
| RGB | rgb(154, 31, 125) |
| HSL | hsl(314, 66%, 36%) |
| HSV | hsv(314, 80%, 60%) |
| CMYK | cmyk(0%, 79.9%, 18.8%, 39.6%) |
| CIE-LAB | lab(36.62, 57.75, -23.49) |
| CIE-LCH | lch(36.62, 62.35, 337.86°) |
| OKLab | oklab(47.8% 0.1724 -0.0635) |
| OKLCH | oklch(47.8% 0.184 339.8) |
| XYZ | xyz(17.5186, 9.3324, 20.2768) |
| Luminance | 0.0933 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.27
Red Violet
#9E0168
ΔE00 4.91
Barney Purple
#A00498
ΔE00 5.40
Darkmagenta
#8B008B
ΔE00 6.47
Light Eggplant
#894585
ΔE00 7.14
Purple
#800080
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A1F7D #1F9A3C
analogous
#7A1F9A #9A1F7D #9A1F40
triadic
#9A1F7D #7D9A1F #1F7D9A
tetradic
#9A1F7D #9A7A1F #1F9A3C #1F409A
square
#9A1F7D #9A7A1F #1F9A3C #1F409A
split-complementary
#9A1F7D #409A1F #1F9A7A
monochromatic
#340A2A #671554 #9A1F7D #CD29A6 #DD56BD
Accessibility & contrast
On white
7.33
#9A1F7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#9A1F7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A1F7D
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A1F7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A1F7D | 1.00 | 7.33 | 2.87 | 7.33 |
| #FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#284A7F
Deuteranopia (green-blind)
#525D7A
Tritanopia (blue-blind)
#A3244D
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9a1f7d; /* rgb */ color: rgb(154, 31, 125); /* oklch */ color: oklch(47.8% 0.184 339.8);
Tailwind
colors: {
custom: {
50: '#bc6aa3',
500: '#9a1f7d',
950: '#000000',
},
}SCSS
$custom: #9a1f7d; $custom-light: #bc6aa3; $custom-dark: #000000;
JSON
{
"hex": "#9a1f7d",
"rgb": {
"r": 154,
"g": 31,
"b": 125
},
"hsl": {
"h": 314.146,
"s": 66.486,
"l": 36.275
},
"oklch": {
"l": 0.47803,
"c": 0.18371,
"h": 339.8
},
"luminance": 0.09331
}Semantic roles & 50–950 ramp
primary
#9A1F7D
secondary
#54C16E
accent
#E9673E
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#12070F
muted
#817A7F