#C162AB#C162AB
#C162AB is a light, vivid pink. Relative luminance 0.230; OKLCH L 63.2% C 0.150 H 336.7°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #C162AB |
|---|---|
| RGB | rgb(193, 98, 171) |
| HSL | hsl(314, 43%, 57%) |
| HSV | hsv(314, 49%, 76%) |
| CMYK | cmyk(0%, 49.2%, 11.4%, 24.3%) |
| CIE-LAB | lab(55.09, 47.51, -22.08) |
| CIE-LCH | lch(55.09, 52.39, 335.08°) |
| OKLab | oklab(63.21% 0.1382 -0.0595) |
| OKLCH | oklch(63.21% 0.151 336.7) |
| XYZ | xyz(33.7109, 23.0154, 41.1870) |
| Luminance | 0.2301 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 2.38
Pale Magenta
#D767AD
ΔE00 4.88
Pinky Purple
#C94CBE
ΔE00 5.99
Orchid (survey)
#C875C4
ΔE00 6.05
Purpleish Pink
#DF4EC8
ΔE00 6.82
Soft Purple
#A66FB5
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C162AB #62C178
analogous
#A862C1 #C162AB #C1627C
triadic
#C162AB #ABC162 #62ABC1
tetradic
#C162AB #C1A862 #62C178 #627CC1
square
#C162AB #C1A862 #62C178 #627CC1
split-complementary
#C162AB #7CC162 #62C1A8
monochromatic
#793068 #A5418E #C162AB #D28EC2 #E4BADA
Accessibility & contrast
On white
3.75
#C162AB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.60
#C162AB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C162AB
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C162AB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C162AB | 1.00 | 3.75 | 5.60 | 5.60 |
| #FFFFFF | 3.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#647BAD
Deuteranopia (green-blind)
#7E89A8
Tritanopia (blue-blind)
#CA667F
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #c162ab; /* rgb */ color: rgb(193, 98, 171); /* oklch */ color: oklch(63.2% 0.150 336.7);
Tailwind
colors: {
custom: {
50: '#d692c4',
500: '#c162ab',
950: '#000000',
},
}SCSS
$custom: #c162ab; $custom-light: #d692c4; $custom-dark: #000000;
JSON
{
"hex": "#c162ab",
"rgb": {
"r": 193,
"g": 98,
"b": 171
},
"hsl": {
"h": 313.895,
"s": 43.379,
"l": 57.059
},
"oklch": {
"l": 0.63213,
"c": 0.1505,
"h": 336.7
},
"luminance": 0.23013
}Semantic roles & 50–950 ramp
primary
#C162AB
secondary
#ACD3B5
accent
#D37255
background
#FDF9FC
surface
#FAF1F8
border
#D3CBD1
text
#150D12
muted
#837E81