#CD4F8A#CD4F8A

#CD4F8A is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.1% C 0.170 H 354.2°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#CD4F8A
RGBrgb(205, 79, 138)
HSLhsl(332, 56%, 56%)
HSVhsv(332, 61%, 80%)
CMYKcmyk(0%, 61.5%, 32.7%, 19.6%)
CIE-LABlab(52.30, 55.48, -6.75)
CIE-LCHlch(52.30, 55.88, 353.07°)
OKLaboklab(61.1% 0.1691 -0.0171)
OKLCHoklch(61.1% 0.17 354.2)
XYZxyz(32.5619, 20.4095, 26.2644)
Luminance0.2041 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4F8A #4FCD92
analogous
#CD4FC9 #CD4F8A #CD534F
triadic
#CD4F8A #8ACD4F #4F8ACD
tetradic
#CD4F8A #C9CD4F #4FCD92 #534FCD
square
#CD4F8A #C9CD4F #4FCD92 #534FCD
split-complementary
#CD4F8A #4FCD53 #4FC9CD
monochromatic
#7E244E #AE316B #CD4F8A #DB7FAA #E8AEC9

Accessibility & contrast

On white

4.13
#CD4F8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#CD4F8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4F8A
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4F8A#FFFFFF#000000##000000
##CD4F8A1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#626E8C
Deuteranopia (green-blind)
#858587
Tritanopia (blue-blind)
#DC4766
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cd4f8a;
/* rgb */ color: rgb(205, 79, 138);
/* oklch */ color: oklch(61.1% 0.170 354.2);
Tailwind
colors: {
  custom: {
    50: '#e087ac',
    500: '#cd4f8a',
    950: '#000000',
  },
}
SCSS
$custom: #cd4f8a;
$custom-light: #e087ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4f8a",
  "rgb": {
    "r": 205,
    "g": 79,
    "b": 138
  },
  "hsl": {
    "h": 331.905,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61104,
    "c": 0.16994,
    "h": 354.2
  },
  "luminance": 0.20406
}

Semantic roles & 50–950 ramp

primary
#CD4F8A
secondary
#A2D6BE
accent
#DF9949
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CD4F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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