#CD3478#CD3478

#CD3478 is a mid, vivid pink. Relative luminance 0.168; OKLCH L 57.7% C 0.196 H 358.5°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#CD3478
RGBrgb(205, 52, 120)
HSLhsl(333, 60%, 50%)
HSVhsv(333, 75%, 80%)
CMYKcmyk(0%, 74.6%, 41.5%, 19.6%)
CIE-LABlab(48.00, 63.80, -2.27)
CIE-LCHlch(48.00, 63.84, 357.96°)
OKLaboklab(57.75% 0.1959 -0.0052)
OKLCHoklch(57.75% 0.196 358.5)
XYZxyz(29.7972, 16.7950, 19.4383)
Luminance0.1679 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3478 #34CD89
analogous
#CD34C5 #CD3478 #CD3C34
triadic
#CD3478 #78CD34 #3478CD
tetradic
#CD3478 #C5CD34 #34CD89 #3C34CD
square
#CD3478 #C5CD34 #34CD89 #3C34CD
split-complementary
#CD3478 #34CD3C #34C5CD
monochromatic
#6C1B3F #9D275B #CD3478 #D96599 #E596B9

Accessibility & contrast

On white

4.82
#CD3478 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#CD3478 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CD3478
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD3478#FFFFFF#000000##FFFFFF
##CD34781.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555F7A
Deuteranopia (green-blind)
#7F7C74
Tritanopia (blue-blind)
#DE1C52
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cd3478;
/* rgb */ color: rgb(205, 52, 120);
/* oklch */ color: oklch(57.7% 0.196 358.5);
Tailwind
colors: {
  custom: {
    50: '#e2799e',
    500: '#cd3478',
    950: '#000000',
  },
}
SCSS
$custom: #cd3478;
$custom-light: #e2799e;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3478",
  "rgb": {
    "r": 205,
    "g": 52,
    "b": 120
  },
  "hsl": {
    "h": 333.333,
    "s": 60.474,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57747,
    "c": 0.19601,
    "h": 358.5
  },
  "luminance": 0.16791
}

Semantic roles & 50–950 ramp

primary
#CD3478
secondary
#8CD1B2
accent
#E49D44
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CD3478

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

Preview Lab → · Contrast checker → · Palette generator →

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