#C162A2#C162A2
#C162A2 is a light, vivid pink. Relative luminance 0.227; OKLCH L 62.8% C 0.144 H 341.2°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #C162A2 |
|---|---|
| RGB | rgb(193, 98, 162) |
| HSL | hsl(320, 43%, 57%) |
| HSV | hsv(320, 49%, 76%) |
| CMYK | cmyk(0%, 49.2%, 16.1%, 24.3%) |
| CIE-LAB | lab(54.75, 46.07, -17.37) |
| CIE-LCH | lch(54.75, 49.23, 339.34°) |
| OKLab | oklab(62.85% 0.136 -0.0463) |
| OKLCH | oklch(62.85% 0.144 341.2) |
| XYZ | xyz(32.8820, 22.6839, 36.8220) |
| Luminance | 0.2268 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 3.10
Pale Magenta
#D767AD
ΔE00 4.53
Orchid (survey)
#C875C4
ΔE00 7.42
Pinky Purple
#C94CBE
ΔE00 7.62
Purpleish Pink
#DF4EC8
ΔE00 8.26
Soft Purple
#A66FB5
ΔE00 8.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C162A2 #62C181
analogous
#B162C1 #C162A2 #C16273
triadic
#C162A2 #A2C162 #62A2C1
tetradic
#C162A2 #C1B162 #62C181 #6273C1
square
#C162A2 #C1B162 #62C181 #6273C1
split-complementary
#C162A2 #73C162 #62C1B1
monochromatic
#793061 #A54184 #C162A2 #D28EBC #E4BAD6
Accessibility & contrast
On white
3.79
#C162A2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.54
#C162A2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C162A2
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C162A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C162A2 | 1.00 | 3.79 | 5.54 | 5.54 |
| #FFFFFF | 3.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#677AA4
Deuteranopia (green-blind)
#81899F
Tritanopia (blue-blind)
#CB637B
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #c162a2; /* rgb */ color: rgb(193, 98, 162); /* oklch */ color: oklch(62.8% 0.144 341.2);
Tailwind
colors: {
custom: {
50: '#d692bd',
500: '#c162a2',
950: '#000000',
},
}SCSS
$custom: #c162a2; $custom-light: #d692bd; $custom-dark: #000000;
JSON
{
"hex": "#c162a2",
"rgb": {
"r": 193,
"g": 98,
"b": 162
},
"hsl": {
"h": 319.579,
"s": 43.379,
"l": 57.059
},
"oklch": {
"l": 0.62845,
"c": 0.14366,
"h": 341.2
},
"luminance": 0.22681
}Semantic roles & 50–950 ramp
primary
#C162A2
secondary
#ACD3B9
accent
#D37E55
background
#FDF9FB
surface
#FAF1F6
border
#D3CBD0
text
#150D12
muted
#837E81