#CD3A8F#CD3A8F

#CD3A8F is a mid, vivid pink. Relative luminance 0.180; OKLCH L 59.1% C 0.199 H 349.5°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#CD3A8F
RGBrgb(205, 58, 143)
HSLhsl(325, 60%, 52%)
HSVhsv(325, 72%, 80%)
CMYKcmyk(0%, 71.7%, 30.2%, 19.6%)
CIE-LABlab(49.49, 64.29, -13.95)
CIE-LCHlch(49.49, 65.79, 347.76°)
OKLaboklab(59.09% 0.1961 -0.0365)
OKLCHoklch(59.09% 0.199 349.5)
XYZxyz(31.6494, 17.9920, 27.7873)
Luminance0.1799 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3A8F #3ACD78
analogous
#C13ACD #CD3A8F #CD3A46
triadic
#CD3A8F #8FCD3A #3A8FCD
tetradic
#CD3A8F #CDC13A #3ACD78 #3A46CD
square
#CD3A8F #CDC13A #3ACD78 #3A46CD
split-complementary
#CD3A8F #46CD3A #3ACDC1
monochromatic
#701C4D #A1296E #CD3A8F #D96BAB #E69CC7

Accessibility & contrast

On white

4.57
#CD3A8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#CD3A8F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD3A8F
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD3A8F#FFFFFF#000000##000000
##CD3A8F1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#506591
Deuteranopia (green-blind)
#7B7F8C
Tritanopia (blue-blind)
#DC325F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cd3a8f;
/* rgb */ color: rgb(205, 58, 143);
/* oklch */ color: oklch(59.1% 0.199 349.5);
Tailwind
colors: {
  custom: {
    50: '#e17caf',
    500: '#cd3a8f',
    950: '#000000',
  },
}
SCSS
$custom: #cd3a8f;
$custom-light: #e17caf;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3a8f",
  "rgb": {
    "r": 205,
    "g": 58,
    "b": 143
  },
  "hsl": {
    "h": 325.306,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5909,
    "c": 0.19948,
    "h": 349.5
  },
  "luminance": 0.17988
}

Semantic roles & 50–950 ramp

primary
#CD3A8F
secondary
#91D2AC
accent
#E38845
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CD3A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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