#C0407A#C0407A
#C0407A is a mid, vivid pink. Relative luminance 0.163; OKLCH L 56.9% C 0.172 H 356.1°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #C0407A |
|---|---|
| RGB | rgb(192, 64, 122) |
| HSL | hsl(333, 50%, 50%) |
| HSV | hsv(333, 67%, 75%) |
| CMYK | cmyk(0%, 66.7%, 36.5%, 24.7%) |
| CIE-LAB | lab(47.34, 56.01, -4.72) |
| CIE-LCH | lch(47.34, 56.21, 355.19°) |
| OKLab | oklab(56.86% 0.1714 -0.0117) |
| OKLCH | oklch(56.86% 0.172 356.1) |
| XYZ | xyz(27.0861, 16.2815, 20.1248) |
| Luminance | 0.1628 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 5.74
Mediumvioletred
#C71585
ΔE00 5.95
Magenta (survey)
#C20078
ΔE00 6.33
Darkish Pink
#DA467D
ΔE00 6.35
Deep Pink
#CB0162
ΔE00 6.75
Dark Hot Pink
#D90166
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C0407A #40C086
analogous
#C040BA #C0407A #C04640
triadic
#C0407A #7AC040 #407AC0
tetradic
#C0407A #BAC040 #40C086 #4640C0
square
#C0407A #BAC040 #40C086 #4640C0
split-complementary
#C0407A #40C046 #40BAC0
monochromatic
#642140 #92305D #C0407A #CF6E9A #DE9CBA
Accessibility & contrast
On white
4.93
#C0407A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#C0407A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C0407A
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C0407A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C0407A | 1.00 | 4.93 | 4.26 | 4.93 |
| #FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#57617C
Deuteranopia (green-blind)
#7A7977
Tritanopia (blue-blind)
#CF3558
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #c0407a; /* rgb */ color: rgb(192, 64, 122); /* oklch */ color: oklch(56.9% 0.172 356.1);
Tailwind
colors: {
custom: {
50: '#d77da0',
500: '#c0407a',
950: '#000000',
},
}SCSS
$custom: #c0407a; $custom-light: #d77da0; $custom-dark: #000000;
JSON
{
"hex": "#c0407a",
"rgb": {
"r": 192,
"g": 64,
"b": 122
},
"hsl": {
"h": 332.813,
"s": 50.394,
"l": 50.196
},
"oklch": {
"l": 0.56858,
"c": 0.17175,
"h": 356.1
},
"luminance": 0.16278
}Semantic roles & 50–950 ramp
primary
#C0407A
secondary
#91CBB1
accent
#DA9A4E
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150A0E
muted
#837C7E