#C151A5#C151A5
#C151A5 is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.7% C 0.173 H 338.4°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #C151A5 |
|---|---|
| RGB | rgb(193, 81, 165) |
| HSL | hsl(315, 47%, 54%) |
| HSV | hsv(315, 58%, 76%) |
| CMYK | cmyk(0%, 58%, 14.5%, 24.3%) |
| CIE-LAB | lab(51.77, 54.73, -23.68) |
| CIE-LCH | lch(51.77, 59.63, 336.60°) |
| OKLab | oklab(60.68% 0.161 -0.0638) |
| OKLCH | oklch(60.68% 0.173 338.4) |
| XYZ | xyz(31.7267, 19.9415, 37.7681) |
| Luminance | 0.1994 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 4.21
Pinky Purple
#C94CBE
ΔE00 4.70
Purpley Pink
#C83CB9
ΔE00 5.16
Purpleish Pink
#DF4EC8
ΔE00 7.11
Pale Magenta
#D767AD
ΔE00 7.48
Ugly Purple
#A442A0
ΔE00 7.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C151A5 #51C16D
analogous
#A551C1 #C151A5 #C1516D
triadic
#C151A5 #A5C151 #51A5C1
tetradic
#C151A5 #C1A551 #51C16D #516DC1
square
#C151A5 #C1A551 #51C16D #516DC1
split-complementary
#C151A5 #6DC151 #51C1A5
monochromatic
#70285E #9D3884 #C151A5 #D17EBC #E1ABD4
Accessibility & contrast
On white
4.21
#C151A5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.99
#C151A5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C151A5
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C151A5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C151A5 | 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)
#5570A8
Deuteranopia (green-blind)
#7682A2
Tritanopia (blue-blind)
#CB5574
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #c151a5; /* rgb */ color: rgb(193, 81, 165); /* oklch */ color: oklch(60.7% 0.173 338.4);
Tailwind
colors: {
custom: {
50: '#d688c0',
500: '#c151a5',
950: '#000000',
},
}SCSS
$custom: #c151a5; $custom-light: #d688c0; $custom-dark: #000000;
JSON
{
"hex": "#c151a5",
"rgb": {
"r": 193,
"g": 81,
"b": 165
},
"hsl": {
"h": 315,
"s": 47.458,
"l": 53.725
},
"oklch": {
"l": 0.60676,
"c": 0.17318,
"h": 338.4
},
"luminance": 0.19939
}Semantic roles & 50–950 ramp
primary
#C151A5
secondary
#9FCFAB
accent
#D77251
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150C12
muted
#837D81