#CD45B6#CD45B6

#CD45B6 is a mid, highly saturated pink. Relative luminance 0.206; OKLCH L 61.8% C 0.210 H 335.3°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#CD45B6
RGBrgb(205, 69, 182)
HSLhsl(310, 58%, 54%)
HSVhsv(310, 66%, 80%)
CMYKcmyk(0%, 66.3%, 11.2%, 19.6%)
CIE-LABlab(52.53, 65.55, -32.29)
CIE-LCHlch(52.53, 73.07, 333.77°)
OKLaboklab(61.83% 0.1911 -0.088)
OKLCHoklch(61.83% 0.21 335.3)
XYZxyz(35.7488, 20.6158, 46.3433)
Luminance0.2061 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD45B6 #45CD5C
analogous
#A045CD #CD45B6 #CD4572
triadic
#CD45B6 #B6CD45 #45B6CD
tetradic
#CD45B6 #CDA045 #45CD5C #4572CD
square
#CD45B6 #CDA045 #45CD5C #4572CD
split-complementary
#CD45B6 #72CD45 #45CDA0
monochromatic
#772069 #A82D93 #CD45B6 #DA75C9 #E7A5DC

Accessibility & contrast

On white

4.10
#CD45B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#CD45B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD45B6
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD45B6#FFFFFF#000000##000000
##CD45B61.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4570B9
Deuteranopia (green-blind)
#7285B3
Tritanopia (blue-blind)
#D74E78
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cd45b6;
/* rgb */ color: rgb(205, 69, 182);
/* oklch */ color: oklch(61.8% 0.210 335.3);
Tailwind
colors: {
  custom: {
    50: '#e083cc',
    500: '#cd45b6',
    950: '#000000',
  },
}
SCSS
$custom: #cd45b6;
$custom-light: #e083cc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd45b6",
  "rgb": {
    "r": 205,
    "g": 69,
    "b": 182
  },
  "hsl": {
    "h": 310.147,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61834,
    "c": 0.21037,
    "h": 335.3
  },
  "luminance": 0.20613
}

Semantic roles & 50–950 ramp

primary
#CD45B6
secondary
#9AD4A4
accent
#E16147
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CD45B6

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

Preview Lab → · Contrast checker → · Palette generator →

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