#D538AB#D538AB

#D538AB is a mid, highly saturated pink. Relative luminance 0.199; OKLCH L 61.4% C 0.223 H 341.0°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#D538AB
RGBrgb(213, 56, 171)
HSLhsl(316, 65%, 53%)
HSVhsv(316, 74%, 84%)
CMYKcmyk(0%, 73.7%, 19.7%, 16.5%)
CIE-LABlab(51.74, 70.45, -26.98)
CIE-LCHlch(51.74, 75.44, 339.04°)
OKLaboklab(61.36% 0.2109 -0.0727)
OKLCHoklch(61.36% 0.223 341)
XYZxyz(36.2065, 19.9184, 40.4580)
Luminance0.1991 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D538AB #38D562
analogous
#B038D5 #D538AB #D5385C
triadic
#D538AB #ABD538 #38ABD5
tetradic
#D538AB #D5B038 #38D562 #385CD5
square
#D538AB #D5B038 #38D562 #385CD5
split-complementary
#D538AB #5CD538 #38D5B0
monochromatic
#791A60 #AC2487 #D538AB #E06BC0 #EA9DD6

Accessibility & contrast

On white

4.21
#D538AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#D538AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D538AB
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D538AB#FFFFFF#000000##000000
##D538AB1.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#456BAE
Deuteranopia (green-blind)
#7784A7
Tritanopia (blue-blind)
#E23C6D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d538ab;
/* rgb */ color: rgb(213, 56, 171);
/* oklch */ color: oklch(61.4% 0.223 341.0);
Tailwind
colors: {
  custom: {
    50: '#e67dc4',
    500: '#d538ab',
    950: '#000000',
  },
}
SCSS
$custom: #d538ab;
$custom-light: #e67dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#d538ab",
  "rgb": {
    "r": 213,
    "g": 56,
    "b": 171
  },
  "hsl": {
    "h": 316.051,
    "s": 65.145,
    "l": 52.745
  },
  "oklch": {
    "l": 0.61357,
    "c": 0.22302,
    "h": 341
  },
  "luminance": 0.19915
}

Semantic roles & 50–950 ramp

primary
#D538AB
secondary
#92D6A5
accent
#E86D40
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #D538AB

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

Preview Lab → · Contrast checker → · Palette generator →

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