#9F2F58#9F2F58
#9F2F58 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.5% C 0.151 H 2.3°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2F58 |
|---|---|
| RGB | rgb(159, 47, 88) |
| HSL | hsl(338, 54%, 40%) |
| HSV | hsv(338, 70%, 62%) |
| CMYK | cmyk(0%, 70.4%, 44.7%, 37.6%) |
| CIE-LAB | lab(38.04, 49.21, 2.09) |
| CIE-LCH | lch(38.04, 49.25, 2.44°) |
| OKLab | oklab(48.55% 0.1506 0.006) |
| OKLCH | oklch(48.55% 0.151 2.3) |
| XYZ | xyz(17.0773, 10.1107, 10.2829) |
| Luminance | 0.1011 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 4.29
Berry
#990F4B
ΔE00 4.49
Light Burgundy
#A8415B
ΔE00 5.04
Purplish Red
#B0054B
ΔE00 5.20
Dark Fuchsia
#9D0759
ΔE00 5.33
Purple Red
#990147
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2F58 #2F9F76
analogous
#9F2F90 #9F2F58 #9F3E2F
triadic
#9F2F58 #589F2F #2F589F
tetradic
#9F2F58 #909F2F #2F9F76 #3E2F9F
square
#9F2F58 #909F2F #2F9F76 #3E2F9F
split-complementary
#9F2F58 #2F9F3E #2F909F
monochromatic
#411324 #70213E #9F2F58 #C84474 #D67397
Accessibility & contrast
On white
6.95
#9F2F58 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#9F2F58 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F2F58
6.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2F58 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2F58 | 1.00 | 6.95 | 3.02 | 6.95 |
| #FFFFFF | 6.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474C59
Deuteranopia (green-blind)
#656255
Tritanopia (blue-blind)
#AD1F40
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #9f2f58; /* rgb */ color: rgb(159, 47, 88); /* oklch */ color: oklch(48.5% 0.151 2.3);
Tailwind
colors: {
custom: {
50: '#c07087',
500: '#9f2f58',
950: '#000000',
},
}SCSS
$custom: #9f2f58; $custom-light: #c07087; $custom-dark: #000000;
JSON
{
"hex": "#9f2f58",
"rgb": {
"r": 159,
"g": 47,
"b": 88
},
"hsl": {
"h": 338.036,
"s": 54.369,
"l": 40.392
},
"oklch": {
"l": 0.48549,
"c": 0.15073,
"h": 2.3
},
"luminance": 0.10109
}Semantic roles & 50–950 ramp
primary
#9F2F58
secondary
#6DBDA0
accent
#DEA84A
background
#FCF7F8
surface
#F8EDEF
border
#D1C8CA
text
#13080B
muted
#827B7C