#9F235C#9F235C
#9F235C is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.6% C 0.166 H 358.0°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #9F235C |
|---|---|
| RGB | rgb(159, 35, 92) |
| HSL | hsl(332, 64%, 38%) |
| HSV | hsv(332, 78%, 62%) |
| CMYK | cmyk(0%, 78%, 42.1%, 37.6%) |
| CIE-LAB | lab(36.65, 53.86, -2.50) |
| CIE-LCH | lch(36.65, 53.92, 357.35°) |
| OKLab | oklab(47.56% 0.1656 -0.0059) |
| OKLCH | oklch(47.56% 0.166 358) |
| XYZ | xyz(16.8321, 9.3479, 11.0411) |
| Luminance | 0.0935 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Fuchsia
#9D0759
ΔE00 2.69
Violet Red
#A50055
ΔE00 2.70
Deep Magenta
#A0025C
ΔE00 2.84
Berry
#990F4B
ΔE00 4.02
Dark Magenta
#960056
ΔE00 4.06
Mulberry
#920A4E
ΔE00 4.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F235C #239F66
analogous
#9F239A #9F235C #9F2823
triadic
#9F235C #5C9F23 #235C9F
tetradic
#9F235C #9A9F23 #239F66 #28239F
square
#9F235C #9A9F23 #239F66 #28239F
split-complementary
#9F235C #239F28 #239A9F
monochromatic
#3B0D22 #6D183F #9F235C #D12E79 #DC6099
Accessibility & contrast
On white
7.32
#9F235C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#9F235C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F235C
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F235C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F235C | 1.00 | 7.32 | 2.87 | 7.32 |
| #FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E475D
Deuteranopia (green-blind)
#605F59
Tritanopia (blue-blind)
#AC0E3C
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9f235c; /* rgb */ color: rgb(159, 35, 92); /* oklch */ color: oklch(47.6% 0.166 358.0);
Tailwind
colors: {
custom: {
50: '#c06b8a',
500: '#9f235c',
950: '#000000',
},
}SCSS
$custom: #9f235c; $custom-light: #c06b8a; $custom-dark: #000000;
JSON
{
"hex": "#9f235c",
"rgb": {
"r": 159,
"g": 35,
"b": 92
},
"hsl": {
"h": 332.419,
"s": 63.918,
"l": 38.039
},
"oklch": {
"l": 0.47563,
"c": 0.16566,
"h": 358
},
"luminance": 0.09346
}Semantic roles & 50–950 ramp
primary
#9F235C
secondary
#5DC193
accent
#E79B41
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C