#C140A2#C140A2
#C140A2 is a mid, vivid pink. Relative luminance 0.176; OKLCH L 58.6% C 0.195 H 338.8°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #C140A2 |
|---|---|
| RGB | rgb(193, 64, 162) |
| HSL | hsl(314, 51%, 50%) |
| HSV | hsv(314, 67%, 76%) |
| CMYK | cmyk(0%, 66.8%, 16.1%, 24.3%) |
| CIE-LAB | lab(49.03, 61.46, -26.15) |
| CIE-LCH | lch(49.03, 66.79, 336.95°) |
| OKLab | oklab(58.62% 0.1819 -0.0707) |
| OKLCH | oklch(58.62% 0.195 338.8) |
| XYZ | xyz(30.3479, 17.6156, 35.9773) |
| Luminance | 0.1761 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.11
Pinky Purple
#C94CBE
ΔE00 5.55
Ugly Purple
#A442A0
ΔE00 6.00
Mediumvioletred
#C71585
ΔE00 6.90
Purplish Pink
#CE5DAE
ΔE00 7.27
Medium Purple
#9E43A2
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C140A2 #40C15F
analogous
#A040C1 #C140A2 #C14061
triadic
#C140A2 #A2C140 #40A2C1
tetradic
#C140A2 #C1A040 #40C15F #4061C1
square
#C140A2 #C1A040 #40C15F #4061C1
split-complementary
#C140A2 #61C140 #40C1A0
monochromatic
#662155 #94307C #C140A2 #D06EB8 #DF9CCF
Accessibility & contrast
On white
4.64
#C140A2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.52
#C140A2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #C140A2
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C140A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C140A2 | 1.00 | 4.64 | 4.52 | 4.64 |
| #FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4668A5
Deuteranopia (green-blind)
#6F7C9F
Tritanopia (blue-blind)
#CC456B
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #c140a2; /* rgb */ color: rgb(193, 64, 162); /* oklch */ color: oklch(58.6% 0.195 338.8);
Tailwind
colors: {
custom: {
50: '#d77ebd',
500: '#c140a2',
950: '#000000',
},
}SCSS
$custom: #c140a2; $custom-light: #d77ebd; $custom-dark: #000000;
JSON
{
"hex": "#c140a2",
"rgb": {
"r": 193,
"g": 64,
"b": 162
},
"hsl": {
"h": 314.419,
"s": 50.988,
"l": 50.392
},
"oklch": {
"l": 0.58623,
"c": 0.19512,
"h": 338.8
},
"luminance": 0.17613
}Semantic roles & 50–950 ramp
primary
#C140A2
secondary
#92CB9F
accent
#DA6F4D
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150B12
muted
#837C81