#CD4278#CD4278

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

Color values

HEX#CD4278
RGBrgb(205, 66, 120)
HSLhsl(337, 58%, 53%)
HSVhsv(337, 68%, 80%)
CMYKcmyk(0%, 67.8%, 41.5%, 19.6%)
CIE-LABlab(49.78, 58.84, 0.34)
CIE-LCHlch(49.78, 58.84, 0.33°)
OKLaboklab(59.06% 0.1802 0.0016)
OKLCHoklch(59.06% 0.18 0.5)
XYZxyz(30.5174, 18.2354, 19.6784)
Luminance0.1823 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4278 #42CD97
analogous
#CD42BD #CD4278 #CD5142
triadic
#CD4278 #78CD42 #4278CD
tetradic
#CD4278 #BDCD42 #42CD97 #5142CD
square
#CD4278 #BDCD42 #42CD97 #5142CD
split-complementary
#CD4278 #42CD51 #42BDCD
monochromatic
#761F41 #A62C5B #CD4278 #DA729B #E7A3BD

Accessibility & contrast

On white

4.52
#CD4278 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#CD4278 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4278
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4278#FFFFFF#000000##000000
##CD42781.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E6579
Deuteranopia (green-blind)
#838075
Tritanopia (blue-blind)
#DE3158
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cd4278;
/* rgb */ color: rgb(205, 66, 120);
/* oklch */ color: oklch(59.1% 0.180 0.5);
Tailwind
colors: {
  custom: {
    50: '#e1809e',
    500: '#cd4278',
    950: '#000000',
  },
}
SCSS
$custom: #cd4278;
$custom-light: #e1809e;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4278",
  "rgb": {
    "r": 205,
    "g": 66,
    "b": 120
  },
  "hsl": {
    "h": 336.691,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59058,
    "c": 0.18017,
    "h": 0.5
  },
  "luminance": 0.18232
}

Semantic roles & 50–950 ramp

primary
#CD4278
secondary
#97D3BC
accent
#E1A546
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CD4278

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

Preview Lab → · Contrast checker → · Palette generator →

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