#C151A8#C151A8
#C151A8 is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.8% C 0.175 H 337.1°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #C151A8 |
|---|---|
| RGB | rgb(193, 81, 168) |
| HSL | hsl(313, 47%, 54%) |
| HSV | hsv(313, 58%, 76%) |
| CMYK | cmyk(0%, 58%, 13%, 24.3%) |
| CIE-LAB | lab(51.90, 55.19, -25.24) |
| CIE-LCH | lch(51.90, 60.69, 335.42°) |
| OKLab | oklab(60.81% 0.1616 -0.0683) |
| OKLCH | oklch(60.81% 0.175 337.1) |
| XYZ | xyz(32.0030, 20.0520, 39.2231) |
| Luminance | 0.2005 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Pinky Purple
#C94CBE
ΔE00 4.10
Purplish Pink
#CE5DAE
ΔE00 4.23
Purpley Pink
#C83CB9
ΔE00 4.69
Purpleish Pink
#DF4EC8
ΔE00 6.73
Pale Magenta
#D767AD
ΔE00 7.63
Ugly Purple
#A442A0
ΔE00 7.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C151A8 #51C16A
analogous
#A251C1 #C151A8 #C15170
triadic
#C151A8 #A8C151 #51A8C1
tetradic
#C151A8 #C1A251 #51C16A #5170C1
square
#C151A8 #C1A251 #51C16A #5170C1
split-complementary
#C151A8 #70C151 #51C1A2
monochromatic
#702860 #9D3886 #C151A8 #D17EBF #E1ABD5
Accessibility & contrast
On white
4.19
#C151A8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.01
#C151A8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C151A8
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C151A8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C151A8 | 1.00 | 4.19 | 5.01 | 5.01 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5471AB
Deuteranopia (green-blind)
#7582A5
Tritanopia (blue-blind)
#CA5675
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #c151a8; /* rgb */ color: rgb(193, 81, 168); /* oklch */ color: oklch(60.8% 0.175 337.1);
Tailwind
colors: {
custom: {
50: '#d688c2',
500: '#c151a8',
950: '#000000',
},
}SCSS
$custom: #c151a8; $custom-light: #d688c2; $custom-dark: #000000;
JSON
{
"hex": "#c151a8",
"rgb": {
"r": 193,
"g": 81,
"b": 168
},
"hsl": {
"h": 313.393,
"s": 47.458,
"l": 53.725
},
"oklch": {
"l": 0.60809,
"c": 0.17541,
"h": 337.1
},
"luminance": 0.20049
}Semantic roles & 50–950 ramp
primary
#C151A8
secondary
#9FCFAA
accent
#D76F51
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150C12
muted
#837D81