#C142A1#C142A1
#C142A1 is a mid, vivid pink. Relative luminance 0.178; OKLCH L 58.8% C 0.192 H 339.2°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #C142A1 |
|---|---|
| RGB | rgb(193, 66, 161) |
| HSL | hsl(315, 51%, 51%) |
| HSV | hsv(315, 66%, 76%) |
| CMYK | cmyk(0%, 65.8%, 16.6%, 24.3%) |
| CIE-LAB | lab(49.26, 60.53, -25.19) |
| CIE-LCH | lch(49.26, 65.56, 337.40°) |
| OKLab | oklab(58.78% 0.1794 -0.068) |
| OKLCH | oklch(58.78% 0.192 339.2) |
| XYZ | xyz(30.3742, 17.8098, 35.5492) |
| Luminance | 0.1781 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.36
Pinky Purple
#C94CBE
ΔE00 5.59
Ugly Purple
#A442A0
ΔE00 6.25
Mediumvioletred
#C71585
ΔE00 6.93
Purplish Pink
#CE5DAE
ΔE00 6.94
Medium Purple
#9E43A2
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C142A1 #42C162
analogous
#A142C1 #C142A1 #C14261
triadic
#C142A1 #A1C142 #42A1C1
tetradic
#C142A1 #C1A142 #42C162 #4261C1
square
#C142A1 #C1A142 #42C162 #4261C1
split-complementary
#C142A1 #61C142 #42C1A1
monochromatic
#672255 #95317C #C142A1 #D070B8 #DF9ECF
Accessibility & contrast
On white
4.60
#C142A1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.56
#C142A1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #C142A1
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C142A1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C142A1 | 1.00 | 4.60 | 4.56 | 4.60 |
| #FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4868A4
Deuteranopia (green-blind)
#707C9E
Tritanopia (blue-blind)
#CC466C
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #c142a1; /* rgb */ color: rgb(193, 66, 161); /* oklch */ color: oklch(58.8% 0.192 339.2);
Tailwind
colors: {
custom: {
50: '#d77fbd',
500: '#c142a1',
950: '#000000',
},
}SCSS
$custom: #c142a1; $custom-light: #d77fbd; $custom-dark: #000000;
JSON
{
"hex": "#c142a1",
"rgb": {
"r": 193,
"g": 66,
"b": 161
},
"hsl": {
"h": 315.118,
"s": 50.598,
"l": 50.784
},
"oklch": {
"l": 0.58783,
"c": 0.1918,
"h": 339.2
},
"luminance": 0.17807
}Semantic roles & 50–950 ramp
primary
#C142A1
secondary
#93CCA1
accent
#DA714E
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150B12
muted
#837C81