#CD45AF#CD45AF

#CD45AF is a mid, highly saturated pink. Relative luminance 0.203; OKLCH L 61.5% C 0.205 H 337.8°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#CD45AF
RGBrgb(205, 69, 175)
HSLhsl(313, 58%, 54%)
HSVhsv(313, 66%, 80%)
CMYKcmyk(0%, 66.3%, 14.6%, 19.6%)
CIE-LABlab(52.21, 64.51, -28.70)
CIE-LCHlch(52.21, 70.61, 336.01°)
OKLaboklab(61.5% 0.1901 -0.0778)
OKLCHoklch(61.5% 0.205 337.8)
XYZxyz(35.0434, 20.3336, 42.6283)
Luminance0.2033 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD45AF #45CD63
analogous
#A745CD #CD45AF #CD456B
triadic
#CD45AF #AFCD45 #45AFCD
tetradic
#CD45AF #CDA745 #45CD63 #456BCD
square
#CD45AF #CDA745 #45CD63 #456BCD
split-complementary
#CD45AF #6BCD45 #45CDA7
monochromatic
#772064 #A82D8D #CD45AF #DA75C4 #E7A5D8

Accessibility & contrast

On white

4.15
#CD45AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#CD45AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD45AF
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD45AF#FFFFFF#000000##000000
##CD45AF1.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A6FB2
Deuteranopia (green-blind)
#7584AC
Tritanopia (blue-blind)
#D84B74
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd45af;
/* rgb */ color: rgb(205, 69, 175);
/* oklch */ color: oklch(61.5% 0.205 337.8);
Tailwind
colors: {
  custom: {
    50: '#e083c7',
    500: '#cd45af',
    950: '#000000',
  },
}
SCSS
$custom: #cd45af;
$custom-light: #e083c7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd45af",
  "rgb": {
    "r": 205,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 313.235,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61503,
    "c": 0.20542,
    "h": 337.8
  },
  "luminance": 0.20331
}

Semantic roles & 50–950 ramp

primary
#CD45AF
secondary
#9AD4A7
accent
#E16947
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CD45AF

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

Preview Lab → · Contrast checker → · Palette generator →

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