#9C236F#9C236F
#9C236F is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.8% C 0.172 H 347.2°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #9C236F |
|---|---|
| RGB | rgb(156, 35, 111) |
| HSL | hsl(322, 63%, 37%) |
| HSV | hsv(322, 78%, 61%) |
| CMYK | cmyk(0%, 77.6%, 28.8%, 38.8%) |
| CIE-LAB | lab(36.78, 55.21, -14.43) |
| CIE-LCH | lch(36.78, 57.07, 345.35°) |
| OKLab | oklab(47.79% 0.1682 -0.0381) |
| OKLCH | oklch(47.79% 0.172 347.2) |
| XYZ | xyz(17.1814, 9.4196, 15.9492) |
| Luminance | 0.0942 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.66
Deep Magenta
#A0025C
ΔE00 4.76
Dark Fuchsia
#9D0759
ΔE00 5.21
Dark Magenta
#960056
ΔE00 5.63
Reddish Purple
#910951
ΔE00 6.61
Magenta (survey)
#C20078
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C236F #239C50
analogous
#8D239C #9C236F #9C2332
triadic
#9C236F #6F9C23 #236F9C
tetradic
#9C236F #9C8D23 #239C50 #23329C
square
#9C236F #9C8D23 #239C50 #23329C
split-complementary
#9C236F #329C23 #239C8D
monochromatic
#380D28 #6A184B #9C236F #CE2E93 #DB5EAD
Accessibility & contrast
On white
7.28
#9C236F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#9C236F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C236F
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C236F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C236F | 1.00 | 7.28 | 2.88 | 7.28 |
| #FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#354971
Deuteranopia (green-blind)
#595E6C
Tritanopia (blue-blind)
#A71E46
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9c236f; /* rgb */ color: rgb(156, 35, 111); /* oklch */ color: oklch(47.8% 0.172 347.2);
Tailwind
colors: {
custom: {
50: '#bd6b98',
500: '#9c236f',
950: '#000000',
},
}SCSS
$custom: #9c236f; $custom-light: #bd6b98; $custom-dark: #000000;
JSON
{
"hex": "#9c236f",
"rgb": {
"r": 156,
"g": 35,
"b": 111
},
"hsl": {
"h": 322.314,
"s": 63.351,
"l": 37.451
},
"oklch": {
"l": 0.47786,
"c": 0.17241,
"h": 347.2
},
"luminance": 0.09418
}Semantic roles & 50–950 ramp
primary
#9C236F
secondary
#5BC080
accent
#E67F41
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E