#C251A2#C251A2
#C251A2 is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.7% C 0.172 H 340.0°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #C251A2 |
|---|---|
| RGB | rgb(194, 81, 162) |
| HSL | hsl(317, 48%, 54%) |
| HSV | hsv(317, 58%, 76%) |
| CMYK | cmyk(0%, 58.2%, 16.5%, 23.9%) |
| CIE-LAB | lab(51.80, 54.56, -21.86) |
| CIE-LCH | lch(51.80, 58.77, 338.16°) |
| OKLab | oklab(60.69% 0.1614 -0.0587) |
| OKLCH | oklch(60.69% 0.172 340) |
| XYZ | xyz(31.7127, 19.9655, 36.3589) |
| Luminance | 0.1996 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 4.14
Pinky Purple
#C94CBE
ΔE00 5.35
Purpley Pink
#C83CB9
ΔE00 5.76
Pale Magenta
#D767AD
ΔE00 7.21
Purpleish Pink
#DF4EC8
ΔE00 7.44
Ugly Purple
#A442A0
ΔE00 8.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C251A2 #51C271
analogous
#AA51C2 #C251A2 #C2516A
triadic
#C251A2 #A2C251 #51A2C2
tetradic
#C251A2 #C2AA51 #51C271 #516AC2
square
#C251A2 #C2AA51 #51C271 #516AC2
split-complementary
#C251A2 #6AC251 #51C2AA
monochromatic
#71285C #9E3781 #C251A2 #D27EBA #E2ACD2
Accessibility & contrast
On white
4.21
#C251A2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.99
#C251A2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C251A2
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C251A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C251A2 | 1.00 | 4.21 | 4.99 | 4.99 |
| #FFFFFF | 4.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5770A5
Deuteranopia (green-blind)
#78829F
Tritanopia (blue-blind)
#CC5472
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #c251a2; /* rgb */ color: rgb(194, 81, 162); /* oklch */ color: oklch(60.7% 0.172 340.0);
Tailwind
colors: {
custom: {
50: '#d788bd',
500: '#c251a2',
950: '#000000',
},
}SCSS
$custom: #c251a2; $custom-light: #d788bd; $custom-dark: #000000;
JSON
{
"hex": "#c251a2",
"rgb": {
"r": 194,
"g": 81,
"b": 162
},
"hsl": {
"h": 316.991,
"s": 48.085,
"l": 53.922
},
"oklch": {
"l": 0.60686,
"c": 0.17177,
"h": 340
},
"luminance": 0.19963
}Semantic roles & 50–950 ramp
primary
#C251A2
secondary
#9FD0AD
accent
#D87750
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81