#C242A3#C242A3
#C242A3 is a mid, vivid pink. Relative luminance 0.180; OKLCH L 59.0% C 0.194 H 338.8°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #C242A3 |
|---|---|
| RGB | rgb(194, 66, 163) |
| HSL | hsl(315, 51%, 51%) |
| HSV | hsv(315, 66%, 76%) |
| CMYK | cmyk(0%, 66%, 16%, 23.9%) |
| CIE-LAB | lab(49.51, 61.08, -25.98) |
| CIE-LCH | lch(49.51, 66.38, 336.96°) |
| OKLab | oklab(59.02% 0.1807 -0.0702) |
| OKLCH | oklch(59.02% 0.194 338.8) |
| XYZ | xyz(30.8078, 18.0129, 36.4975) |
| Luminance | 0.1801 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.00
Pinky Purple
#C94CBE
ΔE00 5.22
Ugly Purple
#A442A0
ΔE00 6.33
Purplish Pink
#CE5DAE
ΔE00 6.76
Mediumvioletred
#C71585
ΔE00 7.21
Medium Purple
#9E43A2
ΔE00 7.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C242A3 #42C261
analogous
#A142C2 #C242A3 #C24263
triadic
#C242A3 #A3C242 #42A3C2
tetradic
#C242A3 #C2A142 #42C261 #4263C2
square
#C242A3 #C2A142 #42C261 #4263C2
split-complementary
#C242A3 #63C242 #42C2A1
monochromatic
#682257 #96317E #C242A3 #D170BA #E09FD0
Accessibility & contrast
On white
4.56
#C242A3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.60
#C242A3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C242A3
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C242A3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C242A3 | 1.00 | 4.56 | 4.60 | 4.60 |
| #FFFFFF | 4.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4869A6
Deuteranopia (green-blind)
#707DA0
Tritanopia (blue-blind)
#CD476D
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #c242a3; /* rgb */ color: rgb(194, 66, 163); /* oklch */ color: oklch(59.0% 0.194 338.8);
Tailwind
colors: {
custom: {
50: '#d880be',
500: '#c242a3',
950: '#000000',
},
}SCSS
$custom: #c242a3; $custom-light: #d880be; $custom-dark: #000000;
JSON
{
"hex": "#c242a3",
"rgb": {
"r": 194,
"g": 66,
"b": 163
},
"hsl": {
"h": 314.531,
"s": 51.2,
"l": 50.98
},
"oklch": {
"l": 0.59022,
"c": 0.19385,
"h": 338.8
},
"luminance": 0.1801
}Semantic roles & 50–950 ramp
primary
#C242A3
secondary
#94CCA1
accent
#DB6F4D
background
#FDF8FB
surface
#FBEFF7
border
#D4CAD0
text
#150B12
muted
#837C81