#C242A6#C242A6
#C242A6 is a mid, vivid pink. Relative luminance 0.181; OKLCH L 59.2% C 0.196 H 337.6°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #C242A6 |
|---|---|
| RGB | rgb(194, 66, 166) |
| HSL | hsl(313, 51%, 51%) |
| HSV | hsv(313, 66%, 76%) |
| CMYK | cmyk(0%, 66%, 14.4%, 23.9%) |
| CIE-LAB | lab(49.64, 61.52, -27.55) |
| CIE-LCH | lch(49.64, 67.41, 335.88°) |
| OKLab | oklab(59.16% 0.1812 -0.0746) |
| OKLCH | oklch(59.16% 0.196 337.6) |
| XYZ | xyz(31.0798, 18.1217, 37.9300) |
| Luminance | 0.1812 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.43
Pinky Purple
#C94CBE
ΔE00 4.73
Ugly Purple
#A442A0
ΔE00 6.18
Purplish Pink
#CE5DAE
ΔE00 6.77
Medium Purple
#9E43A2
ΔE00 7.46
Mediumvioletred
#C71585
ΔE00 7.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C242A6 #42C25E
analogous
#9E42C2 #C242A6 #C24266
triadic
#C242A6 #A6C242 #42A6C2
tetradic
#C242A6 #C29E42 #42C25E #4266C2
square
#C242A6 #C29E42 #42C25E #4266C2
split-complementary
#C242A6 #66C242 #42C29E
monochromatic
#682259 #963180 #C242A6 #D170BC #E09FD2
Accessibility & contrast
On white
4.54
#C242A6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.62
#C242A6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C242A6
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C242A6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C242A6 | 1.00 | 4.54 | 4.62 | 4.62 |
| #FFFFFF | 4.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4669A9
Deuteranopia (green-blind)
#6F7DA3
Tritanopia (blue-blind)
#CC486E
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #c242a6; /* rgb */ color: rgb(194, 66, 166); /* oklch */ color: oklch(59.2% 0.196 337.6);
Tailwind
colors: {
custom: {
50: '#d880c0',
500: '#c242a6',
950: '#000000',
},
}SCSS
$custom: #c242a6; $custom-light: #d880c0; $custom-dark: #000000;
JSON
{
"hex": "#c242a6",
"rgb": {
"r": 194,
"g": 66,
"b": 166
},
"hsl": {
"h": 313.125,
"s": 51.2,
"l": 50.98
},
"oklch": {
"l": 0.59161,
"c": 0.19594,
"h": 337.6
},
"luminance": 0.18119
}Semantic roles & 50–950 ramp
primary
#C242A6
secondary
#94CCA0
accent
#DB6C4D
background
#FDF8FB
surface
#FBEFF7
border
#D4CAD0
text
#150B12
muted
#837C81