#CD538E#CD538E

#CD538E is a mid, vivid pink. Relative luminance 0.211; OKLCH L 61.7% C 0.166 H 353.0°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#CD538E
RGBrgb(205, 83, 142)
HSLhsl(331, 55%, 56%)
HSVhsv(331, 60%, 80%)
CMYKcmyk(0%, 59.5%, 30.7%, 19.6%)
CIE-LABlab(53.08, 54.20, -7.95)
CIE-LCHlch(53.08, 54.78, 351.66°)
OKLaboklab(61.73% 0.1648 -0.0204)
OKLCHoklch(61.73% 0.166 353)
XYZxyz(33.1541, 21.1220, 27.9169)
Luminance0.2112 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD538E #53CD92
analogous
#CD53CB #CD538E #CD5553
triadic
#CD538E #8ECD53 #538ECD
tetradic
#CD538E #CBCD53 #53CD92 #5553CD
square
#CD538E #CBCD53 #53CD92 #5553CD
split-complementary
#CD538E #53CD55 #53CBCD
monochromatic
#802551 #B0336F #CD538E #DB82AD #E9B2CC

Accessibility & contrast

On white

4.02
#CD538E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#CD538E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD538E
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD538E#FFFFFF#000000##000000
##CD538E1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#647190
Deuteranopia (green-blind)
#86878B
Tritanopia (blue-blind)
#DB4C6A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cd538e;
/* rgb */ color: rgb(205, 83, 142);
/* oklch */ color: oklch(61.7% 0.166 353.0);
Tailwind
colors: {
  custom: {
    50: '#e089af',
    500: '#cd538e',
    950: '#000000',
  },
}
SCSS
$custom: #cd538e;
$custom-light: #e089af;
$custom-dark: #000000;
JSON
{
  "hex": "#cd538e",
  "rgb": {
    "r": 205,
    "g": 83,
    "b": 142
  },
  "hsl": {
    "h": 330.984,
    "s": 54.955,
    "l": 56.471
  },
  "oklch": {
    "l": 0.6173,
    "c": 0.16606,
    "h": 353
  },
  "luminance": 0.21119
}

Semantic roles & 50–950 ramp

primary
#CD538E
secondary
#A5D7BF
accent
#DE964A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CD538E

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

Preview Lab → · Contrast checker → · Palette generator →

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