#C242A0#C242A0
#C242A0 is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.9% C 0.192 H 340.0°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).
Color values
| HEX | #C242A0 |
|---|---|
| RGB | rgb(194, 66, 160) |
| HSL | hsl(316, 51%, 51%) |
| HSV | hsv(316, 66%, 76%) |
| CMYK | cmyk(0%, 66%, 17.5%, 23.9%) |
| CIE-LAB | lab(49.38, 60.65, -24.40) |
| CIE-LCH | lch(49.38, 65.38, 338.08°) |
| OKLab | oklab(58.89% 0.1802 -0.0657) |
| OKLCH | oklch(58.89% 0.192 340) |
| XYZ | xyz(30.5422, 17.9066, 35.0987) |
| Luminance | 0.1790 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.59
Pinky Purple
#C94CBE
ΔE00 5.73
Ugly Purple
#A442A0
ΔE00 6.54
Mediumvioletred
#C71585
ΔE00 6.78
Purplish Pink
#CE5DAE
ΔE00 6.81
Medium Purple
#9E43A2
ΔE00 7.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C242A0 #42C264
analogous
#A442C2 #C242A0 #C24260
triadic
#C242A0 #A0C242 #42A0C2
tetradic
#C242A0 #C2A442 #42C264 #4260C2
square
#C242A0 #C2A442 #42C264 #4260C2
split-complementary
#C242A0 #60C242 #42C2A4
monochromatic
#682255 #96317B #C242A0 #D170B7 #E09FCF
Accessibility & contrast
On white
4.58
#C242A0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.58
#C242A0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C242A0
4.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C242A0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C242A0 | 1.00 | 4.58 | 4.58 | 4.58 |
| #FFFFFF | 4.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4968A3
Deuteranopia (green-blind)
#717D9D
Tritanopia (blue-blind)
#CD456B
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #c242a0; /* rgb */ color: rgb(194, 66, 160); /* oklch */ color: oklch(58.9% 0.192 340.0);
Tailwind
colors: {
custom: {
50: '#d87fbc',
500: '#c242a0',
950: '#000000',
},
}SCSS
$custom: #c242a0; $custom-light: #d87fbc; $custom-dark: #000000;
JSON
{
"hex": "#c242a0",
"rgb": {
"r": 194,
"g": 66,
"b": 160
},
"hsl": {
"h": 315.938,
"s": 51.2,
"l": 50.98
},
"oklch": {
"l": 0.58886,
"c": 0.1918,
"h": 340
},
"luminance": 0.17904
}Semantic roles & 50–950 ramp
primary
#C242A0
secondary
#94CCA3
accent
#DB734D
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150B12
muted
#837C81