#9F2D5F#9F2D5F
#9F2D5F is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.6% C 0.156 H 357.9°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2D5F |
|---|---|
| RGB | rgb(159, 45, 95) |
| HSL | hsl(334, 56%, 40%) |
| HSV | hsv(334, 72%, 62%) |
| CMYK | cmyk(0%, 71.7%, 40.3%, 37.6%) |
| CIE-LAB | lab(37.98, 50.71, -2.44) |
| CIE-LCH | lch(37.98, 50.77, 357.24°) |
| OKLab | oklab(48.57% 0.1555 -0.0058) |
| OKLCH | oklch(48.57% 0.156 357.9) |
| XYZ | xyz(17.3032, 10.0760, 11.8579) |
| Luminance | 0.1007 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 3.99
Dark Fuchsia
#9D0759
ΔE00 4.11
Deep Magenta
#A0025C
ΔE00 4.19
Berry
#990F4B
ΔE00 5.07
Dark Magenta
#960056
ΔE00 5.39
Mulberry
#920A4E
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2D5F #2D9F6D
analogous
#9F2D98 #9F2D5F #9F342D
triadic
#9F2D5F #5F9F2D #2D5F9F
tetradic
#9F2D5F #989F2D #2D9F6D #342D9F
square
#9F2D5F #989F2D #2D9F6D #342D9F
split-complementary
#9F2D5F #2D9F34 #2D989F
monochromatic
#401226 #6F2043 #9F2D5F #C9407C #D6709D
Accessibility & contrast
On white
6.97
#9F2D5F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#9F2D5F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F2D5F
6.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2D5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2D5F | 1.00 | 6.97 | 3.01 | 6.97 |
| #FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444C60
Deuteranopia (green-blind)
#63615C
Tritanopia (blue-blind)
#AC2042
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #9f2d5f; /* rgb */ color: rgb(159, 45, 95); /* oklch */ color: oklch(48.6% 0.156 357.9);
Tailwind
colors: {
custom: {
50: '#c06f8c',
500: '#9f2d5f',
950: '#000000',
},
}SCSS
$custom: #9f2d5f; $custom-light: #c06f8c; $custom-dark: #000000;
JSON
{
"hex": "#9f2d5f",
"rgb": {
"r": 159,
"g": 45,
"b": 95
},
"hsl": {
"h": 333.684,
"s": 55.882,
"l": 40
},
"oklch": {
"l": 0.48574,
"c": 0.15561,
"h": 357.9
},
"luminance": 0.10074
}Semantic roles & 50–950 ramp
primary
#9F2D5F
secondary
#6ABE99
accent
#DF9D49
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080C
muted
#827B7D