#C8339A#C8339A
#C8339A is a mid, highly saturated pink. Relative luminance 0.170; OKLCH L 58.2% C 0.210 H 343.3°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #C8339A |
|---|---|
| RGB | rgb(200, 51, 154) |
| HSL | hsl(319, 59%, 49%) |
| HSV | hsv(319, 75%, 78%) |
| CMYK | cmyk(0%, 74.5%, 23%, 21.6%) |
| CIE-LAB | lab(48.24, 66.68, -22.52) |
| CIE-LCH | lch(48.24, 70.38, 341.34°) |
| OKLab | oklab(58.16% 0.2011 -0.0602) |
| OKLCH | oklch(58.16% 0.21 343.3) |
| XYZ | xyz(30.8371, 16.9834, 32.2197) |
| Luminance | 0.1698 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 4.69
Purpley Pink
#C83CB9
ΔE00 5.81
Magenta (survey)
#C20078
ΔE00 7.36
Ugly Purple
#A442A0
ΔE00 7.40
Pinky Purple
#C94CBE
ΔE00 7.47
Purplish Pink
#CE5DAE
ΔE00 8.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8339A #33C861
analogous
#AC33C8 #C8339A #C83350
triadic
#C8339A #9AC833 #339AC8
tetradic
#C8339A #C8AC33 #33C861 #3350C8
square
#C8339A #C8AC33 #33C861 #3350C8
split-complementary
#C8339A #50C833 #33C8AC
monochromatic
#661A4F #972774 #C8339A #D761B3 #E392CA
Accessibility & contrast
On white
4.78
#C8339A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.40
#C8339A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C8339A
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8339A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C8339A | 1.00 | 4.78 | 4.40 | 4.78 |
| #FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#43639D
Deuteranopia (green-blind)
#727B97
Tritanopia (blue-blind)
#D53363
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #c8339a; /* rgb */ color: rgb(200, 51, 154); /* oklch */ color: oklch(58.2% 0.210 343.3);
Tailwind
colors: {
custom: {
50: '#dd79b8',
500: '#c8339a',
950: '#000000',
},
}SCSS
$custom: #c8339a; $custom-light: #dd79b8; $custom-dark: #000000;
JSON
{
"hex": "#c8339a",
"rgb": {
"r": 200,
"g": 51,
"b": 154
},
"hsl": {
"h": 318.523,
"s": 59.363,
"l": 49.216
},
"oklch": {
"l": 0.58161,
"c": 0.20988,
"h": 343.3
},
"luminance": 0.1698
}Semantic roles & 50–950 ramp
primary
#C8339A
secondary
#89CE9E
accent
#E37645
background
#FEF7FB
surface
#FCEEF6
border
#D5C9D0
text
#160A11
muted
#847C80