#C142A8#C142A8
#C142A8 is a mid, vivid pink. Relative luminance 0.181; OKLCH L 59.1% C 0.197 H 336.5°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #C142A8 |
|---|---|
| RGB | rgb(193, 66, 168) |
| HSL | hsl(312, 51%, 51%) |
| HSV | hsv(312, 66%, 76%) |
| CMYK | cmyk(0%, 65.8%, 13%, 24.3%) |
| CIE-LAB | lab(49.57, 61.56, -28.85) |
| CIE-LCH | lch(49.57, 67.99, 334.89°) |
| OKLab | oklab(59.11% 0.1804 -0.0784) |
| OKLCH | oklch(59.11% 0.197 336.5) |
| XYZ | xyz(31.0088, 18.0637, 38.8917) |
| Luminance | 0.1806 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.05
Pinky Purple
#C94CBE
ΔE00 4.48
Ugly Purple
#A442A0
ΔE00 5.91
Purplish Pink
#CE5DAE
ΔE00 6.97
Medium Purple
#9E43A2
ΔE00 7.15
Purpleish Pink
#DF4EC8
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C142A8 #42C15B
analogous
#9A42C1 #C142A8 #C14268
triadic
#C142A8 #A8C142 #42A8C1
tetradic
#C142A8 #C19A42 #42C15B #4268C1
square
#C142A8 #C19A42 #42C15B #4268C1
split-complementary
#C142A8 #68C142 #42C19A
monochromatic
#672259 #953181 #C142A8 #D070BD #DF9ED2
Accessibility & contrast
On white
4.55
#C142A8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.61
#C142A8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C142A8
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C142A8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C142A8 | 1.00 | 4.55 | 4.61 | 4.61 |
| #FFFFFF | 4.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#446AAB
Deuteranopia (green-blind)
#6D7DA5
Tritanopia (blue-blind)
#CB496F
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #c142a8; /* rgb */ color: rgb(193, 66, 168); /* oklch */ color: oklch(59.1% 0.197 336.5);
Tailwind
colors: {
custom: {
50: '#d780c2',
500: '#c142a8',
950: '#000000',
},
}SCSS
$custom: #c142a8; $custom-light: #d780c2; $custom-dark: #000000;
JSON
{
"hex": "#c142a8",
"rgb": {
"r": 193,
"g": 66,
"b": 168
},
"hsl": {
"h": 311.811,
"s": 50.598,
"l": 50.784
},
"oklch": {
"l": 0.59108,
"c": 0.19672,
"h": 336.5
},
"luminance": 0.18061
}Semantic roles & 50–950 ramp
primary
#C142A8
secondary
#93CC9E
accent
#DA694E
background
#FDF8FB
surface
#FBEFF7
border
#D4CAD0
text
#150B12
muted
#837C81