#C242AB#C242AB
#C242AB is a mid, vivid pink. Relative luminance 0.183; OKLCH L 59.4% C 0.200 H 335.7°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #C242AB |
|---|---|
| RGB | rgb(194, 66, 171) |
| HSL | hsl(311, 51%, 51%) |
| HSV | hsv(311, 66%, 76%) |
| CMYK | cmyk(0%, 66%, 11.9%, 23.9%) |
| CIE-LAB | lab(49.87, 62.27, -30.14) |
| CIE-LCH | lch(49.87, 69.18, 334.17°) |
| OKLab | oklab(59.4% 0.1819 -0.082) |
| OKLCH | oklch(59.4% 0.2 335.7) |
| XYZ | xyz(31.5474, 18.3087, 40.3926) |
| Luminance | 0.1831 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 2.52
Pinky Purple
#C94CBE
ΔE00 3.99
Ugly Purple
#A442A0
ΔE00 6.07
Purplish Pink
#CE5DAE
ΔE00 6.89
Medium Purple
#9E43A2
ΔE00 7.25
Purpleish Pink
#DF4EC8
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C242AB #42C259
analogous
#9942C2 #C242AB #C2426B
triadic
#C242AB #ABC242 #42ABC2
tetradic
#C242AB #C29942 #42C259 #426BC2
square
#C242AB #C29942 #42C259 #426BC2
split-complementary
#C242AB #6BC242 #42C299
monochromatic
#68225B #963184 #C242AB #D170C0 #E09FD4
Accessibility & contrast
On white
4.51
#C242AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.66
#C242AB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C242AB
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C242AB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C242AB | 1.00 | 4.51 | 4.66 | 4.66 |
| #FFFFFF | 4.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#436AAE
Deuteranopia (green-blind)
#6D7EA8
Tritanopia (blue-blind)
#CB4A71
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #c242ab; /* rgb */ color: rgb(194, 66, 171); /* oklch */ color: oklch(59.4% 0.200 335.7);
Tailwind
colors: {
custom: {
50: '#d880c4',
500: '#c242ab',
950: '#000000',
},
}SCSS
$custom: #c242ab; $custom-light: #d880c4; $custom-dark: #000000;
JSON
{
"hex": "#c242ab",
"rgb": {
"r": 194,
"g": 66,
"b": 171
},
"hsl": {
"h": 310.781,
"s": 51.2,
"l": 50.98
},
"oklch": {
"l": 0.59399,
"c": 0.19952,
"h": 335.7
},
"luminance": 0.18306
}Semantic roles & 50–950 ramp
primary
#C242AB
secondary
#94CC9E
accent
#DB674D
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B12
muted
#837C81