#C168AF#C168AF
#C168AF is a light, vivid pink. Relative luminance 0.243; OKLCH L 64.3% C 0.144 H 335.2°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #C168AF |
|---|---|
| RGB | rgb(193, 104, 175) |
| HSL | hsl(312, 42%, 58%) |
| HSV | hsv(312, 46%, 76%) |
| CMYK | cmyk(0%, 46.1%, 9.3%, 24.3%) |
| CIE-LAB | lab(56.42, 45.12, -22.34) |
| CIE-LCH | lch(56.42, 50.35, 333.66°) |
| OKLab | oklab(64.26% 0.1303 -0.0603) |
| OKLCH | oklch(64.26% 0.144 335.2) |
| XYZ | xyz(34.6805, 24.3354, 43.4197) |
| Luminance | 0.2433 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 3.07
Pale Magenta
#D767AD
ΔE00 4.63
Orchid (survey)
#C875C4
ΔE00 4.68
Soft Purple
#A66FB5
ΔE00 6.49
Pinky Purple
#C94CBE
ΔE00 6.78
Purpleish Pink
#DF4EC8
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C168AF #68C17A
analogous
#A668C1 #C168AF #C16882
triadic
#C168AF #AFC168 #68AFC1
tetradic
#C168AF #C1A668 #68C17A #6882C1
square
#C168AF #C1A668 #68C17A #6882C1
split-complementary
#C168AF #82C168 #68C1A6
monochromatic
#7C336D #A74593 #C168AF #D393C6 #E5BFDD
Accessibility & contrast
On white
3.58
#C168AF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.87
#C168AF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C168AF
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C168AF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C168AF | 1.00 | 3.58 | 5.87 | 5.87 |
| #FFFFFF | 3.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#687FB1
Deuteranopia (green-blind)
#808CAC
Tritanopia (blue-blind)
#C96C83
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #c168af; /* rgb */ color: rgb(193, 104, 175); /* oklch */ color: oklch(64.3% 0.144 335.2);
Tailwind
colors: {
custom: {
50: '#d596c7',
500: '#c168af',
950: '#000000',
},
}SCSS
$custom: #c168af; $custom-light: #d596c7; $custom-dark: #000000;
JSON
{
"hex": "#c168af",
"rgb": {
"r": 193,
"g": 104,
"b": 175
},
"hsl": {
"h": 312.135,
"s": 41.784,
"l": 58.235
},
"oklch": {
"l": 0.6426,
"c": 0.14356,
"h": 335.2
},
"luminance": 0.24333
}Semantic roles & 50–950 ramp
primary
#C168AF
secondary
#B1D4B8
accent
#D26F56
background
#FDF9FC
surface
#FAF2F8
border
#D3CCD1
text
#140D13
muted
#837E82