#CD42AF#CD42AF

#CD42AF is a mid, highly saturated pink. Relative luminance 0.200; OKLCH L 61.2% C 0.209 H 337.7°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#CD42AF
RGBrgb(205, 66, 175)
HSLhsl(313, 58%, 53%)
HSVhsv(313, 68%, 80%)
CMYKcmyk(0%, 67.8%, 14.6%, 19.6%)
CIE-LABlab(51.81, 65.64, -29.33)
CIE-LCHlch(51.81, 71.90, 335.92°)
OKLaboklab(61.21% 0.1935 -0.0795)
OKLCHoklch(61.21% 0.209 337.7)
XYZxyz(34.8635, 19.9738, 42.5683)
Luminance0.1997 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD42AF #42CD60
analogous
#A642CD #CD42AF #CD4269
triadic
#CD42AF #AFCD42 #42AFCD
tetradic
#CD42AF #CDA642 #42CD60 #4269CD
square
#CD42AF #CDA642 #42CD60 #4269CD
split-complementary
#CD42AF #69CD42 #42CDA6
monochromatic
#761F63 #A62C8C #CD42AF #DA72C3 #E7A3D8

Accessibility & contrast

On white

4.20
#CD42AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#CD42AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD42AF
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD42AF#FFFFFF#000000##000000
##CD42AF1.004.204.994.99
#FFFFFF4.201.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#476EB2
Deuteranopia (green-blind)
#7483AC
Tritanopia (blue-blind)
#D84973
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd42af;
/* rgb */ color: rgb(205, 66, 175);
/* oklch */ color: oklch(61.2% 0.209 337.7);
Tailwind
colors: {
  custom: {
    50: '#e081c7',
    500: '#cd42af',
    950: '#000000',
  },
}
SCSS
$custom: #cd42af;
$custom-light: #e081c7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd42af",
  "rgb": {
    "r": 205,
    "g": 66,
    "b": 175
  },
  "hsl": {
    "h": 312.95,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.61208,
    "c": 0.20921,
    "h": 337.7
  },
  "luminance": 0.19971
}

Semantic roles & 50–950 ramp

primary
#CD42AF
secondary
#97D3A4
accent
#E16846
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CD42AF

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

Preview Lab → · Contrast checker → · Palette generator →

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