#CD3E7B#CD3E7B

#CD3E7B is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.8% C 0.186 H 358.5°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#CD3E7B
RGBrgb(205, 62, 123)
HSLhsl(334, 59%, 52%)
HSVhsv(334, 70%, 80%)
CMYKcmyk(0%, 69.8%, 40%, 19.6%)
CIE-LABlab(49.32, 60.66, -2.15)
CIE-LCHlch(49.32, 60.70, 357.97°)
OKLaboklab(58.75% 0.1859 -0.0049)
OKLCHoklch(58.75% 0.186 358.5)
XYZxyz(30.4767, 17.8582, 20.5771)
Luminance0.1785 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3E7B #3ECD90
analogous
#CD3EC2 #CD3E7B #CD493E
triadic
#CD3E7B #7BCD3E #3E7BCD
tetradic
#CD3E7B #C2CD3E #3ECD90 #493ECD
square
#CD3E7B #C2CD3E #3ECD90 #493ECD
split-complementary
#CD3E7B #3ECD49 #3EC2CD
monochromatic
#731E42 #A32A5E #CD3E7B #DA6F9C #E69FBD

Accessibility & contrast

On white

4.59
#CD3E7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#CD3E7B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CD3E7B
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD3E7B#FFFFFF#000000##FFFFFF
##CD3E7B1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A647D
Deuteranopia (green-blind)
#817F78
Tritanopia (blue-blind)
#DE2D57
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cd3e7b;
/* rgb */ color: rgb(205, 62, 123);
/* oklch */ color: oklch(58.8% 0.186 358.5);
Tailwind
colors: {
  custom: {
    50: '#e17ea1',
    500: '#cd3e7b',
    950: '#000000',
  },
}
SCSS
$custom: #cd3e7b;
$custom-light: #e17ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3e7b",
  "rgb": {
    "r": 205,
    "g": 62,
    "b": 123
  },
  "hsl": {
    "h": 334.406,
    "s": 58.848,
    "l": 52.353
  },
  "oklch": {
    "l": 0.5875,
    "c": 0.186,
    "h": 358.5
  },
  "luminance": 0.17854
}

Semantic roles & 50–950 ramp

primary
#CD3E7B
secondary
#94D3B8
accent
#E29F46
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CD3E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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