#C336A6#C336A6
#C336A6 is a mid, highly saturated pink. Relative luminance 0.170; OKLCH L 58.2% C 0.211 H 337.5°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #C336A6 |
|---|---|
| RGB | rgb(195, 54, 166) |
| HSL | hsl(312, 57%, 49%) |
| HSV | hsv(312, 72%, 76%) |
| CMYK | cmyk(0%, 72.3%, 14.9%, 23.5%) |
| CIE-LAB | lab(48.26, 66.13, -29.69) |
| CIE-LCH | lch(48.26, 72.49, 335.82°) |
| OKLab | oklab(58.18% 0.1952 -0.0806) |
| OKLCH | oklch(58.18% 0.211 337.5) |
| XYZ | xyz(30.7084, 16.9965, 37.7324) |
| Luminance | 0.1699 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.51
Ugly Purple
#A442A0
ΔE00 5.65
Pinky Purple
#C94CBE
ΔE00 5.75
Mediumvioletred
#C71585
ΔE00 6.87
Medium Purple
#9E43A2
ΔE00 6.94
Barney
#AC1DB8
ΔE00 8.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C336A6 #36C353
analogous
#9A36C3 #C336A6 #C33660
triadic
#C336A6 #A6C336 #36A6C3
tetradic
#C336A6 #C39A36 #36C353 #3660C3
square
#C336A6 #C39A36 #36C353 #3660C3
split-complementary
#C336A6 #60C336 #36C39A
monochromatic
#631B54 #93297D #C336A6 #D463BC #E192D1
Accessibility & contrast
On white
4.77
#C336A6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.40
#C336A6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C336A6
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C336A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C336A6 | 1.00 | 4.77 | 4.40 | 4.77 |
| #FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B65A9
Deuteranopia (green-blind)
#6A7AA3
Tritanopia (blue-blind)
#CE3E6A
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #c336a6; /* rgb */ color: rgb(195, 54, 166); /* oklch */ color: oklch(58.2% 0.211 337.5);
Tailwind
colors: {
custom: {
50: '#d97ac0',
500: '#c336a6',
950: '#000000',
},
}SCSS
$custom: #c336a6; $custom-light: #d97ac0; $custom-dark: #000000;
JSON
{
"hex": "#c336a6",
"rgb": {
"r": 195,
"g": 54,
"b": 166
},
"hsl": {
"h": 312.34,
"s": 56.627,
"l": 48.824
},
"oklch": {
"l": 0.58185,
"c": 0.21118,
"h": 337.5
},
"luminance": 0.16994
}Semantic roles & 50–950 ramp
primary
#C336A6
secondary
#89CC97
accent
#E06748
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81