#C236AB#C236AB
#C236AB is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.3% C 0.214 H 335.5°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #C236AB |
|---|---|
| RGB | rgb(194, 54, 171) |
| HSL | hsl(310, 56%, 49%) |
| HSV | hsv(310, 72%, 76%) |
| CMYK | cmyk(0%, 72.2%, 11.9%, 23.9%) |
| CIE-LAB | lab(48.32, 66.61, -32.55) |
| CIE-LCH | lch(48.32, 74.14, 333.95°) |
| OKLab | oklab(58.28% 0.1947 -0.0888) |
| OKLCH | oklch(58.28% 0.214 335.5) |
| XYZ | xyz(30.9184, 17.0507, 40.1829) |
| Luminance | 0.1705 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 2.81
Pinky Purple
#C94CBE
ΔE00 5.30
Ugly Purple
#A442A0
ΔE00 5.38
Medium Purple
#9E43A2
ΔE00 6.55
Barney
#AC1DB8
ΔE00 7.50
Mediumvioletred
#C71585
ΔE00 7.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C236AB #36C24D
analogous
#9336C2 #C236AB #C23665
triadic
#C236AB #ABC236 #36ABC2
tetradic
#C236AB #C29336 #36C24D #3665C2
square
#C236AB #C29336 #36C24D #3665C2
split-complementary
#C236AB #65C236 #36C293
monochromatic
#621B57 #922981 #C236AB #D362C1 #E192D4
Accessibility & contrast
On white
4.76
#C236AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.41
#C236AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C236AB
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C236AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C236AB | 1.00 | 4.76 | 4.41 | 4.76 |
| #FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3765AE
Deuteranopia (green-blind)
#687AA8
Tritanopia (blue-blind)
#CC416D
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #c236ab; /* rgb */ color: rgb(194, 54, 171); /* oklch */ color: oklch(58.3% 0.214 335.5);
Tailwind
colors: {
custom: {
50: '#d87ac4',
500: '#c236ab',
950: '#000000',
},
}SCSS
$custom: #c236ab; $custom-light: #d87ac4; $custom-dark: #000000;
JSON
{
"hex": "#c236ab",
"rgb": {
"r": 194,
"g": 54,
"b": 171
},
"hsl": {
"h": 309.857,
"s": 56.452,
"l": 48.627
},
"oklch": {
"l": 0.58279,
"c": 0.21403,
"h": 335.5
},
"luminance": 0.17048
}Semantic roles & 50–950 ramp
primary
#C236AB
secondary
#88CC93
accent
#E06148
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A12
muted
#837C81