#CD168F#CD168F

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

Color values

HEX#CD168F
RGBrgb(205, 22, 143)
HSLhsl(320, 81%, 45%)
HSVhsv(320, 89%, 80%)
CMYKcmyk(0%, 89.3%, 30.2%, 19.6%)
CIE-LABlab(46.37, 73.21, -18.71)
CIE-LCHlch(46.37, 75.56, 345.66°)
OKLaboklab(56.82% 0.2241 -0.0494)
OKLCHoklch(56.82% 0.23 347.6)
XYZxyz(30.4234, 15.5399, 27.3787)
Luminance0.1554 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD168F #16CD54
analogous
#B016CD #CD168F #CD1633
triadic
#CD168F #8FCD16 #168FCD
tetradic
#CD168F #CDB016 #16CD54 #1633CD
square
#CD168F #CDB016 #16CD54 #1633CD
split-complementary
#CD168F #33CD16 #16CDB0
monochromatic
#5E0A42 #961068 #CD168F #EA37AD #EF6EC4

Accessibility & contrast

On white

5.11
#CD168F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#CD168F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CD168F
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD168F#FFFFFF#000000##FFFFFF
##CD168F1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd168f;
/* rgb */ color: rgb(205, 22, 143);
/* oklch */ color: oklch(56.8% 0.230 347.6);
Tailwind
colors: {
  custom: {
    50: '#e271b0',
    500: '#cd168f',
    950: '#000000',
  },
}
SCSS
$custom: #cd168f;
$custom-light: #e271b0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd168f",
  "rgb": {
    "r": 205,
    "g": 22,
    "b": 143
  },
  "hsl": {
    "h": 320.328,
    "s": 80.617,
    "l": 44.51
  },
  "oklch": {
    "l": 0.56824,
    "c": 0.2295,
    "h": 347.6
  },
  "luminance": 0.15536
}

Semantic roles & 50–950 ramp

primary
#CD168F
secondary
#69D58E
accent
#F77431
background
#FEF7FA
surface
#FDEDF4
border
#D5C8CE
text
#160910
muted
#847B7F

Preview Lab

Preview with #CD168F

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

Preview Lab → · Contrast checker → · Palette generator →

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