#D538AD#D538AD

#D538AD is a mid, highly saturated pink. Relative luminance 0.200; OKLCH L 61.4% C 0.224 H 340.3°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#D538AD
RGBrgb(213, 56, 173)
HSLhsl(315, 65%, 53%)
HSVhsv(315, 74%, 84%)
CMYKcmyk(0%, 73.7%, 18.8%, 16.5%)
CIE-LABlab(51.83, 70.72, -28.02)
CIE-LCHlch(51.83, 76.06, 338.38°)
OKLaboklab(61.45% 0.2111 -0.0756)
OKLCHoklch(61.45% 0.224 340.3)
XYZxyz(36.3986, 19.9952, 41.4696)
Luminance0.1999 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D538AD #38D560
analogous
#AF38D5 #D538AD #D5385E
triadic
#D538AD #ADD538 #38ADD5
tetradic
#D538AD #D5AF38 #38D560 #385ED5
square
#D538AD #D5AF38 #38D560 #385ED5
split-complementary
#D538AD #5ED538 #38D5AF
monochromatic
#791A61 #AC2489 #D538AD #E06BC2 #EA9DD7

Accessibility & contrast

On white

4.20
#D538AD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#D538AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D538AD
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D538AD#FFFFFF#000000##000000
##D538AD1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#446CB0
Deuteranopia (green-blind)
#7785A9
Tritanopia (blue-blind)
#E23D6F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d538ad;
/* rgb */ color: rgb(213, 56, 173);
/* oklch */ color: oklch(61.4% 0.224 340.3);
Tailwind
colors: {
  custom: {
    50: '#e67dc5',
    500: '#d538ad',
    950: '#000000',
  },
}
SCSS
$custom: #d538ad;
$custom-light: #e67dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#d538ad",
  "rgb": {
    "r": 213,
    "g": 56,
    "b": 173
  },
  "hsl": {
    "h": 315.287,
    "s": 65.145,
    "l": 52.745
  },
  "oklch": {
    "l": 0.61448,
    "c": 0.22427,
    "h": 340.3
  },
  "luminance": 0.19992
}

Semantic roles & 50–950 ramp

primary
#D538AD
secondary
#92D6A4
accent
#E86B40
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D538AD

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

Preview Lab → · Contrast checker → · Palette generator →

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