#CD538A#CD538A

#CD538A is a mid, vivid pink. Relative luminance 0.210; OKLCH L 61.6% C 0.164 H 354.9°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#CD538A
RGBrgb(205, 83, 138)
HSLhsl(333, 55%, 56%)
HSVhsv(333, 60%, 80%)
CMYKcmyk(0%, 59.5%, 32.7%, 19.6%)
CIE-LABlab(52.95, 53.71, -5.77)
CIE-LCHlch(52.95, 54.02, 353.87°)
OKLaboklab(61.59% 0.1636 -0.0145)
OKLCHoklch(61.59% 0.164 354.9)
XYZxyz(32.8592, 21.0040, 26.3635)
Luminance0.2100 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD538A #53CD96
analogous
#CD53C7 #CD538A #CD5953
triadic
#CD538A #8ACD53 #538ACD
tetradic
#CD538A #C7CD53 #53CD96 #5953CD
square
#CD538A #C7CD53 #53CD96 #5953CD
split-complementary
#CD538A #53CD59 #53C7CD
monochromatic
#80254E #B0336B #CD538A #DB82AA #E9B2CB

Accessibility & contrast

On white

4.04
#CD538A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#CD538A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD538A
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD538A#FFFFFF#000000##000000
##CD538A1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#66708C
Deuteranopia (green-blind)
#878787
Tritanopia (blue-blind)
#DC4B69
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cd538a;
/* rgb */ color: rgb(205, 83, 138);
/* oklch */ color: oklch(61.6% 0.164 354.9);
Tailwind
colors: {
  custom: {
    50: '#e089ac',
    500: '#cd538a',
    950: '#000000',
  },
}
SCSS
$custom: #cd538a;
$custom-light: #e089ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cd538a",
  "rgb": {
    "r": 205,
    "g": 83,
    "b": 138
  },
  "hsl": {
    "h": 332.951,
    "s": 54.955,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61591,
    "c": 0.16422,
    "h": 354.9
  },
  "luminance": 0.21001
}

Semantic roles & 50–950 ramp

primary
#CD538A
secondary
#A5D7C0
accent
#DE9B4A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CD538A

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

Preview Lab → · Contrast checker → · Palette generator →

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