#CD168D#CD168D

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

Color values

HEX#CD168D
RGBrgb(205, 22, 141)
HSLhsl(321, 81%, 45%)
HSVhsv(321, 89%, 80%)
CMYKcmyk(0%, 89.3%, 31.2%, 19.6%)
CIE-LABlab(46.28, 73.00, -17.62)
CIE-LCHlch(46.28, 75.09, 346.43°)
OKLaboklab(56.74% 0.2238 -0.0464)
OKLCHoklch(56.74% 0.229 348.3)
XYZxyz(30.2732, 15.4798, 26.5878)
Luminance0.1548 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD168D #16CD56
analogous
#B216CD #CD168D #CD1631
triadic
#CD168D #8DCD16 #168DCD
tetradic
#CD168D #CDB216 #16CD56 #1631CD
square
#CD168D #CDB216 #16CD56 #1631CD
split-complementary
#CD168D #31CD16 #16CDB2
monochromatic
#5E0A41 #961067 #CD168D #EA37AB #EF6EC2

Accessibility & contrast

On white

5.13
#CD168D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #CD168D
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD168D#FFFFFF#000000##FFFFFF
##CD168D1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5A90
Deuteranopia (green-blind)
#737889
Tritanopia (blue-blind)
#DC0054
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #cd168d;
/* rgb */ color: rgb(205, 22, 141);
/* oklch */ color: oklch(56.7% 0.229 348.3);
Tailwind
colors: {
  custom: {
    50: '#e270ae',
    500: '#cd168d',
    950: '#000000',
  },
}
SCSS
$custom: #cd168d;
$custom-light: #e270ae;
$custom-dark: #000000;
JSON
{
  "hex": "#cd168d",
  "rgb": {
    "r": 205,
    "g": 22,
    "b": 141
  },
  "hsl": {
    "h": 320.984,
    "s": 80.617,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5674,
    "c": 0.22851,
    "h": 348.3
  },
  "luminance": 0.15476
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD168D

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

Preview Lab → · Contrast checker → · Palette generator →

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