#CD168E#CD168E

#CD168E is a mid, highly saturated pink. Relative luminance 0.155; OKLCH L 56.8% C 0.229 H 347.9°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#CD168E
RGBrgb(205, 22, 142)
HSLhsl(321, 81%, 45%)
HSVhsv(321, 89%, 80%)
CMYKcmyk(0%, 89.3%, 30.7%, 19.6%)
CIE-LABlab(46.32, 73.10, -18.17)
CIE-LCHlch(46.32, 75.33, 346.05°)
OKLaboklab(56.78% 0.2239 -0.0479)
OKLCHoklch(56.78% 0.229 347.9)
XYZxyz(30.3480, 15.5097, 26.9815)
Luminance0.1551 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD168E #16CD55
analogous
#B116CD #CD168E #CD1632
triadic
#CD168E #8ECD16 #168ECD
tetradic
#CD168E #CDB116 #16CD55 #1632CD
square
#CD168E #CDB116 #16CD55 #1632CD
split-complementary
#CD168E #32CD16 #16CDB1
monochromatic
#5E0A41 #961068 #CD168E #EA37AC #EF6EC3

Accessibility & contrast

On white

5.12
#CD168E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#CD168E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CD168E
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD168E#FFFFFF#000000##FFFFFF
##CD168E1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5A91
Deuteranopia (green-blind)
#72788A
Tritanopia (blue-blind)
#DC0055
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #cd168e;
/* rgb */ color: rgb(205, 22, 142);
/* oklch */ color: oklch(56.8% 0.229 347.9);
Tailwind
colors: {
  custom: {
    50: '#e270af',
    500: '#cd168e',
    950: '#000000',
  },
}
SCSS
$custom: #cd168e;
$custom-light: #e270af;
$custom-dark: #000000;
JSON
{
  "hex": "#cd168e",
  "rgb": {
    "r": 205,
    "g": 22,
    "b": 142
  },
  "hsl": {
    "h": 320.656,
    "s": 80.617,
    "l": 44.51
  },
  "oklch": {
    "l": 0.56782,
    "c": 0.22901,
    "h": 347.9
  },
  "luminance": 0.15506
}

Semantic roles & 50–950 ramp

primary
#CD168E
secondary
#69D58F
accent
#F77531
background
#FEF7FA
surface
#FDEDF4
border
#D5C8CE
text
#160910
muted
#847B7F

Preview Lab

Preview with #CD168E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CD168E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva