#C336AA#C336AA
#C336AA is a mid, highly saturated pink. Relative luminance 0.171; OKLCH L 58.4% C 0.214 H 336.1°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #C336AA |
|---|---|
| RGB | rgb(195, 54, 170) |
| HSL | hsl(311, 57%, 49%) |
| HSV | hsv(311, 72%, 76%) |
| CMYK | cmyk(0%, 72.3%, 12.8%, 23.5%) |
| CIE-LAB | lab(48.44, 66.70, -31.77) |
| CIE-LCH | lch(48.44, 73.88, 334.53°) |
| OKLab | oklab(58.38% 0.1956 -0.0866) |
| OKLCH | oklch(58.38% 0.214 336.1) |
| XYZ | xyz(31.0810, 17.1455, 39.6949) |
| Luminance | 0.1714 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 2.89
Pinky Purple
#C94CBE
ΔE00 5.30
Ugly Purple
#A442A0
ΔE00 5.57
Medium Purple
#9E43A2
ΔE00 6.78
Mediumvioletred
#C71585
ΔE00 7.55
Barney
#AC1DB8
ΔE00 7.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C336AA #36C34F
analogous
#9636C3 #C336AA #C33664
triadic
#C336AA #AAC336 #36AAC3
tetradic
#C336AA #C39636 #36C34F #3664C3
square
#C336AA #C39636 #36C34F #3664C3
split-complementary
#C336AA #64C336 #36C396
monochromatic
#631B56 #932980 #C336AA #D463C0 #E192D3
Accessibility & contrast
On white
4.74
#C336AA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#C336AA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C336AA
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C336AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C336AA | 1.00 | 4.74 | 4.43 | 4.74 |
| #FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3865AD
Deuteranopia (green-blind)
#697BA7
Tritanopia (blue-blind)
#CD406C
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #c336aa; /* rgb */ color: rgb(195, 54, 170); /* oklch */ color: oklch(58.4% 0.214 336.1);
Tailwind
colors: {
custom: {
50: '#d97ac3',
500: '#c336aa',
950: '#000000',
},
}SCSS
$custom: #c336aa; $custom-light: #d97ac3; $custom-dark: #000000;
JSON
{
"hex": "#c336aa",
"rgb": {
"r": 195,
"g": 54,
"b": 170
},
"hsl": {
"h": 310.638,
"s": 56.627,
"l": 48.824
},
"oklch": {
"l": 0.58381,
"c": 0.2139,
"h": 336.1
},
"luminance": 0.17143
}Semantic roles & 50–950 ramp
primary
#C336AA
secondary
#89CC95
accent
#E06348
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A12
muted
#837C81