#C142A9#C142A9
#C142A9 is a mid, vivid pink. Relative luminance 0.181; OKLCH L 59.2% C 0.197 H 336.1°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #C142A9 |
|---|---|
| RGB | rgb(193, 66, 169) |
| HSL | hsl(311, 51%, 51%) |
| HSV | hsv(311, 66%, 76%) |
| CMYK | cmyk(0%, 65.8%, 12.4%, 24.3%) |
| CIE-LAB | lab(49.62, 61.71, -29.37) |
| CIE-LCH | lch(49.62, 68.34, 334.55°) |
| OKLab | oklab(59.16% 0.1806 -0.0798) |
| OKLCH | oklch(59.16% 0.197 336.1) |
| XYZ | xyz(31.1024, 18.1011, 39.3842) |
| Luminance | 0.1810 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 2.87
Pinky Purple
#C94CBE
ΔE00 4.33
Ugly Purple
#A442A0
ΔE00 5.88
Purplish Pink
#CE5DAE
ΔE00 6.99
Medium Purple
#9E43A2
ΔE00 7.10
Purpleish Pink
#DF4EC8
ΔE00 7.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C142A9 #42C15A
analogous
#9A42C1 #C142A9 #C14269
triadic
#C142A9 #A9C142 #42A9C1
tetradic
#C142A9 #C19A42 #42C15A #4269C1
square
#C142A9 #C19A42 #42C15A #4269C1
split-complementary
#C142A9 #69C142 #42C19A
monochromatic
#67225A #953182 #C142A9 #D070BE #DF9ED3
Accessibility & contrast
On white
4.55
#C142A9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.62
#C142A9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C142A9
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C142A9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C142A9 | 1.00 | 4.55 | 4.62 | 4.62 |
| #FFFFFF | 4.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#446AAC
Deuteranopia (green-blind)
#6D7DA6
Tritanopia (blue-blind)
#CB4970
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #c142a9; /* rgb */ color: rgb(193, 66, 169); /* oklch */ color: oklch(59.2% 0.197 336.1);
Tailwind
colors: {
custom: {
50: '#d780c3',
500: '#c142a9',
950: '#000000',
},
}SCSS
$custom: #c142a9; $custom-light: #d780c3; $custom-dark: #000000;
JSON
{
"hex": "#c142a9",
"rgb": {
"r": 193,
"g": 66,
"b": 169
},
"hsl": {
"h": 311.339,
"s": 50.598,
"l": 50.784
},
"oklch": {
"l": 0.59156,
"c": 0.19743,
"h": 336.1
},
"luminance": 0.18098
}Semantic roles & 50–950 ramp
primary
#C142A9
secondary
#93CC9E
accent
#DA684E
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B12
muted
#837C81