#C242A1#C242A1
#C242A1 is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.9% C 0.192 H 339.6°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #C242A1 |
|---|---|
| RGB | rgb(194, 66, 161) |
| HSL | hsl(315, 51%, 51%) |
| HSV | hsv(315, 66%, 76%) |
| CMYK | cmyk(0%, 66%, 17%, 23.9%) |
| CIE-LAB | lab(49.43, 60.79, -24.93) |
| CIE-LCH | lch(49.43, 65.71, 337.70°) |
| OKLab | oklab(58.93% 0.1804 -0.0672) |
| OKLCH | oklch(58.93% 0.192 339.6) |
| XYZ | xyz(30.6301, 17.9418, 35.5612) |
| Luminance | 0.1794 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.39
Pinky Purple
#C94CBE
ΔE00 5.56
Ugly Purple
#A442A0
ΔE00 6.47
Purplish Pink
#CE5DAE
ΔE00 6.79
Mediumvioletred
#C71585
ΔE00 6.92
Medium Purple
#9E43A2
ΔE00 7.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C242A1 #42C263
analogous
#A342C2 #C242A1 #C24261
triadic
#C242A1 #A1C242 #42A1C2
tetradic
#C242A1 #C2A342 #42C263 #4261C2
square
#C242A1 #C2A342 #42C263 #4261C2
split-complementary
#C242A1 #61C242 #42C2A3
monochromatic
#682256 #96317C #C242A1 #D170B8 #E09FCF
Accessibility & contrast
On white
4.58
#C242A1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.59
#C242A1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C242A1
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C242A1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C242A1 | 1.00 | 4.58 | 4.59 | 4.59 |
| #FFFFFF | 4.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4969A4
Deuteranopia (green-blind)
#717D9E
Tritanopia (blue-blind)
#CD466C
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #c242a1; /* rgb */ color: rgb(194, 66, 161); /* oklch */ color: oklch(58.9% 0.192 339.6);
Tailwind
colors: {
custom: {
50: '#d87fbd',
500: '#c242a1',
950: '#000000',
},
}SCSS
$custom: #c242a1; $custom-light: #d87fbd; $custom-dark: #000000;
JSON
{
"hex": "#c242a1",
"rgb": {
"r": 194,
"g": 66,
"b": 161
},
"hsl": {
"h": 315.469,
"s": 51.2,
"l": 50.98
},
"oklch": {
"l": 0.58931,
"c": 0.19249,
"h": 339.6
},
"luminance": 0.17939
}Semantic roles & 50–950 ramp
primary
#C242A1
secondary
#94CCA2
accent
#DB724D
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150B12
muted
#837C81