#C151A4#C151A4
#C151A4 is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.6% C 0.172 H 338.8°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #C151A4 |
|---|---|
| RGB | rgb(193, 81, 164) |
| HSL | hsl(316, 47%, 54%) |
| HSV | hsv(316, 58%, 76%) |
| CMYK | cmyk(0%, 58%, 15%, 24.3%) |
| CIE-LAB | lab(51.73, 54.57, -23.15) |
| CIE-LCH | lch(51.73, 59.28, 337.01°) |
| OKLab | oklab(60.63% 0.1608 -0.0624) |
| OKLCH | oklch(60.63% 0.172 338.8) |
| XYZ | xyz(31.6361, 19.9052, 37.2906) |
| Luminance | 0.1990 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 4.23
Pinky Purple
#C94CBE
ΔE00 4.90
Purpley Pink
#C83CB9
ΔE00 5.33
Purpleish Pink
#DF4EC8
ΔE00 7.25
Pale Magenta
#D767AD
ΔE00 7.44
Ugly Purple
#A442A0
ΔE00 8.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C151A4 #51C16E
analogous
#A651C1 #C151A4 #C1516C
triadic
#C151A4 #A4C151 #51A4C1
tetradic
#C151A4 #C1A651 #51C16E #516CC1
square
#C151A4 #C1A651 #51C16E #516CC1
split-complementary
#C151A4 #6CC151 #51C1A6
monochromatic
#70285D #9D3883 #C151A4 #D17EBC #E1ABD3
Accessibility & contrast
On white
4.22
#C151A4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.98
#C151A4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C151A4
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C151A4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C151A4 | 1.00 | 4.22 | 4.98 | 4.98 |
| #FFFFFF | 4.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5570A7
Deuteranopia (green-blind)
#7682A1
Tritanopia (blue-blind)
#CB5473
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #c151a4; /* rgb */ color: rgb(193, 81, 164); /* oklch */ color: oklch(60.6% 0.172 338.8);
Tailwind
colors: {
custom: {
50: '#d788bf',
500: '#c151a4',
950: '#000000',
},
}SCSS
$custom: #c151a4; $custom-light: #d788bf; $custom-dark: #000000;
JSON
{
"hex": "#c151a4",
"rgb": {
"r": 193,
"g": 81,
"b": 164
},
"hsl": {
"h": 315.536,
"s": 47.458,
"l": 53.725
},
"oklch": {
"l": 0.60633,
"c": 0.17246,
"h": 338.8
},
"luminance": 0.19903
}Semantic roles & 50–950 ramp
primary
#C151A4
secondary
#9FCFAB
accent
#D77451
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150C12
muted
#837D81