#C151A1#C151A1
#C151A1 is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.5% C 0.170 H 340.1°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #C151A1 |
|---|---|
| RGB | rgb(193, 81, 161) |
| HSL | hsl(317, 47%, 54%) |
| HSV | hsv(317, 58%, 76%) |
| CMYK | cmyk(0%, 58%, 16.6%, 24.3%) |
| CIE-LAB | lab(51.61, 54.12, -21.58) |
| CIE-LCH | lch(51.61, 58.26, 338.26°) |
| OKLab | oklab(60.5% 0.1601 -0.0579) |
| OKLCH | oklch(60.5% 0.17 340.1) |
| XYZ | xyz(31.3684, 19.7981, 35.8806) |
| Luminance | 0.1980 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 4.33
Pinky Purple
#C94CBE
ΔE00 5.52
Purpley Pink
#C83CB9
ΔE00 5.86
Pale Magenta
#D767AD
ΔE00 7.36
Purpleish Pink
#DF4EC8
ΔE00 7.68
Ugly Purple
#A442A0
ΔE00 8.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C151A1 #51C171
analogous
#A951C1 #C151A1 #C15169
triadic
#C151A1 #A1C151 #51A1C1
tetradic
#C151A1 #C1A951 #51C171 #5169C1
square
#C151A1 #C1A951 #51C171 #5169C1
split-complementary
#C151A1 #69C151 #51C1A9
monochromatic
#70285B #9D3880 #C151A1 #D17EB9 #E1ABD2
Accessibility & contrast
On white
4.23
#C151A1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.96
#C151A1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C151A1
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C151A1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C151A1 | 1.00 | 4.23 | 4.96 | 4.96 |
| #FFFFFF | 4.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5770A4
Deuteranopia (green-blind)
#77829E
Tritanopia (blue-blind)
#CB5372
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #c151a1; /* rgb */ color: rgb(193, 81, 161); /* oklch */ color: oklch(60.5% 0.170 340.1);
Tailwind
colors: {
custom: {
50: '#d787bd',
500: '#c151a1',
950: '#000000',
},
}SCSS
$custom: #c151a1; $custom-light: #d787bd; $custom-dark: #000000;
JSON
{
"hex": "#c151a1",
"rgb": {
"r": 193,
"g": 81,
"b": 161
},
"hsl": {
"h": 317.143,
"s": 47.458,
"l": 53.725
},
"oklch": {
"l": 0.60503,
"c": 0.17031,
"h": 340.1
},
"luminance": 0.19796
}Semantic roles & 50–950 ramp
primary
#C151A1
secondary
#9FCFAD
accent
#D77751
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81