#9B1F72#9B1F72
#9B1F72 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.4% C 0.177 H 345.2°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).
Color values
| HEX | #9B1F72 |
|---|---|
| RGB | rgb(155, 31, 114) |
| HSL | hsl(320, 67%, 36%) |
| HSV | hsv(320, 80%, 61%) |
| CMYK | cmyk(0%, 80%, 26.5%, 39.2%) |
| CIE-LAB | lab(36.30, 56.53, -17.07) |
| CIE-LCH | lch(36.30, 59.05, 343.20°) |
| OKLab | oklab(47.45% 0.1716 -0.0454) |
| OKLCH | oklch(47.45% 0.177 345.2) |
| XYZ | xyz(17.0456, 9.1653, 16.7878) |
| Luminance | 0.0916 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.75
Deep Magenta
#A0025C
ΔE00 5.49
Dark Fuchsia
#9D0759
ΔE00 5.96
Dark Magenta
#960056
ΔE00 6.17
Warm Purple
#952E8F
ΔE00 6.70
Reddish Purple
#910951
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B1F72 #1F9B48
analogous
#861F9B #9B1F72 #9B1F34
triadic
#9B1F72 #729B1F #1F729B
tetradic
#9B1F72 #9B861F #1F9B48 #1F349B
square
#9B1F72 #9B861F #1F9B48 #1F349B
split-complementary
#9B1F72 #349B1F #1F9B86
monochromatic
#350B27 #68154C #9B1F72 #CE2998 #DD57B1
Accessibility & contrast
On white
7.41
#9B1F72 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#9B1F72 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B1F72
7.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B1F72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B1F72 | 1.00 | 7.41 | 2.83 | 7.41 |
| #FFFFFF | 7.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#304874
Deuteranopia (green-blind)
#565D6F
Tritanopia (blue-blind)
#A61C47
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #9b1f72; /* rgb */ color: rgb(155, 31, 114); /* oklch */ color: oklch(47.4% 0.177 345.2);
Tailwind
colors: {
custom: {
50: '#bd699a',
500: '#9b1f72',
950: '#000000',
},
}SCSS
$custom: #9b1f72; $custom-light: #bd699a; $custom-dark: #000000;
JSON
{
"hex": "#9b1f72",
"rgb": {
"r": 155,
"g": 31,
"b": 114
},
"hsl": {
"h": 319.839,
"s": 66.667,
"l": 36.471
},
"oklch": {
"l": 0.47445,
"c": 0.17749,
"h": 345.2
},
"luminance": 0.09163
}Semantic roles & 50–950 ramp
primary
#9B1F72
secondary
#55C179
accent
#EA773E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E