#C162A7#C162A7
#C162A7 is a light, vivid pink. Relative luminance 0.229; OKLCH L 63.0% C 0.147 H 338.6°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #C162A7 |
|---|---|
| RGB | rgb(193, 98, 167) |
| HSL | hsl(316, 43%, 57%) |
| HSV | hsv(316, 49%, 76%) |
| CMYK | cmyk(0%, 49.2%, 13.5%, 24.3%) |
| CIE-LAB | lab(54.93, 46.86, -19.99) |
| CIE-LCH | lch(54.93, 50.95, 336.90°) |
| OKLab | oklab(63.05% 0.1373 -0.0537) |
| OKLCH | oklch(63.05% 0.147 338.6) |
| XYZ | xyz(33.3354, 22.8652, 39.2094) |
| Luminance | 0.2286 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 2.52
Pale Magenta
#D767AD
ΔE00 4.62
Orchid (survey)
#C875C4
ΔE00 6.61
Pinky Purple
#C94CBE
ΔE00 6.67
Purpleish Pink
#DF4EC8
ΔE00 7.42
Soft Purple
#A66FB5
ΔE00 7.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C162A7 #62C17C
analogous
#AC62C1 #C162A7 #C16278
triadic
#C162A7 #A7C162 #62A7C1
tetradic
#C162A7 #C1AC62 #62C17C #6278C1
square
#C162A7 #C1AC62 #62C17C #6278C1
split-complementary
#C162A7 #78C162 #62C1AC
monochromatic
#793065 #A54189 #C162A7 #D28EC0 #E4BAD8
Accessibility & contrast
On white
3.77
#C162A7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.57
#C162A7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C162A7
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C162A7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C162A7 | 1.00 | 3.77 | 5.57 | 5.57 |
| #FFFFFF | 3.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#657AA9
Deuteranopia (green-blind)
#7F89A4
Tritanopia (blue-blind)
#CA657D
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #c162a7; /* rgb */ color: rgb(193, 98, 167); /* oklch */ color: oklch(63.0% 0.147 338.6);
Tailwind
colors: {
custom: {
50: '#d692c1',
500: '#c162a7',
950: '#000000',
},
}SCSS
$custom: #c162a7; $custom-light: #d692c1; $custom-dark: #000000;
JSON
{
"hex": "#c162a7",
"rgb": {
"r": 193,
"g": 98,
"b": 167
},
"hsl": {
"h": 316.421,
"s": 43.379,
"l": 57.059
},
"oklch": {
"l": 0.63047,
"c": 0.14738,
"h": 338.6
},
"luminance": 0.22863
}Semantic roles & 50–950 ramp
primary
#C162A7
secondary
#ACD3B7
accent
#D37755
background
#FDF9FB
surface
#FAF1F7
border
#D3CBD0
text
#150D12
muted
#837E81