#C151A2#C151A2
#C151A2 is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.5% C 0.171 H 339.7°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #C151A2 |
|---|---|
| RGB | rgb(193, 81, 162) |
| HSL | hsl(317, 47%, 54%) |
| HSV | hsv(317, 58%, 76%) |
| CMYK | cmyk(0%, 58%, 16.1%, 24.3%) |
| CIE-LAB | lab(51.65, 54.27, -22.10) |
| CIE-LCH | lch(51.65, 58.60, 337.84°) |
| OKLab | oklab(60.55% 0.1604 -0.0594) |
| OKLCH | oklch(60.55% 0.171 339.7) |
| XYZ | xyz(31.4569, 19.8335, 36.3469) |
| Luminance | 0.1983 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 4.29
Pinky Purple
#C94CBE
ΔE00 5.31
Purpley Pink
#C83CB9
ΔE00 5.68
Pale Magenta
#D767AD
ΔE00 7.38
Purpleish Pink
#DF4EC8
ΔE00 7.53
Ugly Purple
#A442A0
ΔE00 8.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C151A2 #51C170
analogous
#A851C1 #C151A2 #C1516A
triadic
#C151A2 #A2C151 #51A2C1
tetradic
#C151A2 #C1A851 #51C170 #516AC1
square
#C151A2 #C1A851 #51C170 #516AC1
split-complementary
#C151A2 #6AC151 #51C1A8
monochromatic
#70285C #9D3881 #C151A2 #D17EBA #E1ABD2
Accessibility & contrast
On white
4.23
#C151A2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#C151A2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C151A2
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C151A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C151A2 | 1.00 | 4.23 | 4.97 | 4.97 |
| #FFFFFF | 4.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5670A5
Deuteranopia (green-blind)
#77829F
Tritanopia (blue-blind)
#CB5472
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #c151a2; /* rgb */ color: rgb(193, 81, 162); /* oklch */ color: oklch(60.5% 0.171 339.7);
Tailwind
colors: {
custom: {
50: '#d787bd',
500: '#c151a2',
950: '#000000',
},
}SCSS
$custom: #c151a2; $custom-light: #d787bd; $custom-dark: #000000;
JSON
{
"hex": "#c151a2",
"rgb": {
"r": 193,
"g": 81,
"b": 162
},
"hsl": {
"h": 316.607,
"s": 47.458,
"l": 53.725
},
"oklch": {
"l": 0.60546,
"c": 0.17102,
"h": 339.7
},
"luminance": 0.19831
}Semantic roles & 50–950 ramp
primary
#C151A2
secondary
#9FCFAC
accent
#D77651
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81