#C451A2#C451A2
#C451A2 is a mid, vivid pink. Relative luminance 0.202; OKLCH L 61.0% C 0.173 H 340.7°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #C451A2 |
|---|---|
| RGB | rgb(196, 81, 162) |
| HSL | hsl(318, 49%, 54%) |
| HSV | hsv(318, 59%, 77%) |
| CMYK | cmyk(0%, 58.7%, 17.3%, 23.1%) |
| CIE-LAB | lab(52.10, 55.14, -21.37) |
| CIE-LCH | lch(52.10, 59.14, 338.81°) |
| OKLab | oklab(60.97% 0.1635 -0.0573) |
| OKLCH | oklch(60.97% 0.173 340.7) |
| XYZ | xyz(32.2296, 20.2320, 36.3831) |
| Luminance | 0.2023 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 3.87
Pinky Purple
#C94CBE
ΔE00 5.44
Purpley Pink
#C83CB9
ΔE00 5.93
Pale Magenta
#D767AD
ΔE00 6.87
Purpleish Pink
#DF4EC8
ΔE00 7.28
Ugly Purple
#A442A0
ΔE00 8.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C451A2 #51C473
analogous
#AD51C4 #C451A2 #C45169
triadic
#C451A2 #A2C451 #51A2C4
tetradic
#C451A2 #C4AD51 #51C473 #5169C4
square
#C451A2 #C4AD51 #51C473 #5169C4
split-complementary
#C451A2 #69C451 #51C4AD
monochromatic
#73275D #A13782 #C451A2 #D37FBA #E3ACD3
Accessibility & contrast
On white
4.16
#C451A2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.05
#C451A2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C451A2
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C451A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C451A2 | 1.00 | 4.16 | 5.05 | 5.05 |
| #FFFFFF | 4.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5871A5
Deuteranopia (green-blind)
#79839F
Tritanopia (blue-blind)
#CF5372
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #c451a2; /* rgb */ color: rgb(196, 81, 162); /* oklch */ color: oklch(61.0% 0.173 340.7);
Tailwind
colors: {
custom: {
50: '#d988bd',
500: '#c451a2',
950: '#000000',
},
}SCSS
$custom: #c451a2; $custom-light: #d988bd; $custom-dark: #000000;
JSON
{
"hex": "#c451a2",
"rgb": {
"r": 196,
"g": 81,
"b": 162
},
"hsl": {
"h": 317.739,
"s": 49.356,
"l": 54.314
},
"oklch": {
"l": 0.60967,
"c": 0.17329,
"h": 340.7
},
"luminance": 0.20229
}Semantic roles & 50–950 ramp
primary
#C451A2
secondary
#A0D1AE
accent
#D9784F
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81