#CD538B#CD538B

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

Color values

HEX#CD538B
RGBrgb(205, 83, 139)
HSLhsl(332, 55%, 56%)
HSVhsv(332, 60%, 80%)
CMYKcmyk(0%, 59.5%, 32.2%, 19.6%)
CIE-LABlab(52.99, 53.83, -6.32)
CIE-LCHlch(52.99, 54.20, 353.31°)
OKLaboklab(61.63% 0.1639 -0.016)
OKLCHoklch(61.63% 0.165 354.4)
XYZxyz(32.9319, 21.0331, 26.7466)
Luminance0.2103 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD538B #53CD95
analogous
#CD53C8 #CD538B #CD5853
triadic
#CD538B #8BCD53 #538BCD
tetradic
#CD538B #C8CD53 #53CD95 #5853CD
square
#CD538B #C8CD53 #53CD95 #5853CD
split-complementary
#CD538B #53CD58 #53C8CD
monochromatic
#80254F #B0336C #CD538B #DB82AB #E9B2CB

Accessibility & contrast

On white

4.03
#CD538B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#CD538B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD538B
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD538B#FFFFFF#000000##000000
##CD538B1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#65708D
Deuteranopia (green-blind)
#868788
Tritanopia (blue-blind)
#DC4B69
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cd538b;
/* rgb */ color: rgb(205, 83, 139);
/* oklch */ color: oklch(61.6% 0.165 354.4);
Tailwind
colors: {
  custom: {
    50: '#e089ac',
    500: '#cd538b',
    950: '#000000',
  },
}
SCSS
$custom: #cd538b;
$custom-light: #e089ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cd538b",
  "rgb": {
    "r": 205,
    "g": 83,
    "b": 139
  },
  "hsl": {
    "h": 332.459,
    "s": 54.955,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61626,
    "c": 0.16467,
    "h": 354.4
  },
  "luminance": 0.2103
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD538B

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

Preview Lab → · Contrast checker → · Palette generator →

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