#C162AF#C162AF
#C162AF is a light, vivid pink. Relative luminance 0.232; OKLCH L 63.4% C 0.154 H 334.8°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #C162AF |
|---|---|
| RGB | rgb(193, 98, 175) |
| HSL | hsl(311, 43%, 57%) |
| HSV | hsv(311, 49%, 76%) |
| CMYK | cmyk(0%, 49.2%, 9.3%, 24.3%) |
| CIE-LAB | lab(55.25, 48.18, -24.15) |
| CIE-LCH | lch(55.25, 53.89, 333.38°) |
| OKLab | oklab(63.38% 0.1391 -0.0653) |
| OKLCH | oklch(63.38% 0.154 334.8) |
| XYZ | xyz(34.0979, 23.1702, 43.2255) |
| Luminance | 0.2317 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 2.57
Pale Magenta
#D767AD
ΔE00 5.27
Pinky Purple
#C94CBE
ΔE00 5.39
Orchid (survey)
#C875C4
ΔE00 5.59
Purpleish Pink
#DF4EC8
ΔE00 6.30
Soft Purple
#A66FB5
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C162AF #62C174
analogous
#A362C1 #C162AF #C16280
triadic
#C162AF #AFC162 #62AFC1
tetradic
#C162AF #C1A362 #62C174 #6280C1
square
#C162AF #C1A362 #62C174 #6280C1
split-complementary
#C162AF #80C162 #62C1A3
monochromatic
#79306B #A54192 #C162AF #D28EC5 #E4BADC
Accessibility & contrast
On white
3.73
#C162AF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.63
#C162AF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C162AF
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C162AF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C162AF | 1.00 | 3.73 | 5.63 | 5.63 |
| #FFFFFF | 3.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#627BB2
Deuteranopia (green-blind)
#7C89AC
Tritanopia (blue-blind)
#C96780
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #c162af; /* rgb */ color: rgb(193, 98, 175); /* oklch */ color: oklch(63.4% 0.154 334.8);
Tailwind
colors: {
custom: {
50: '#d692c7',
500: '#c162af',
950: '#000000',
},
}SCSS
$custom: #c162af; $custom-light: #d692c7; $custom-dark: #000000;
JSON
{
"hex": "#c162af",
"rgb": {
"r": 193,
"g": 98,
"b": 175
},
"hsl": {
"h": 311.368,
"s": 43.379,
"l": 57.059
},
"oklch": {
"l": 0.63384,
"c": 0.15372,
"h": 334.8
},
"luminance": 0.23168
}Semantic roles & 50–950 ramp
primary
#C162AF
secondary
#ACD3B3
accent
#D36D55
background
#FDF9FC
surface
#FAF1F8
border
#D3CBD1
text
#150D13
muted
#837E82