#D538B6#D538B6

#D538B6 is a mid, highly saturated pink. Relative luminance 0.204; OKLCH L 61.9% C 0.230 H 337.3°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#D538B6
RGBrgb(213, 56, 182)
HSLhsl(312, 65%, 53%)
HSVhsv(312, 74%, 84%)
CMYKcmyk(0%, 73.7%, 14.6%, 16.5%)
CIE-LABlab(52.24, 71.94, -32.65)
CIE-LCHlch(52.24, 79.00, 335.59°)
OKLaboklab(61.87% 0.2122 -0.0888)
OKLCHoklch(61.87% 0.23 337.3)
XYZxyz(37.2990, 20.3554, 46.2115)
Luminance0.2035 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D538B6 #38D557
analogous
#A538D5 #D538B6 #D53868
triadic
#D538B6 #B6D538 #38B6D5
tetradic
#D538B6 #D5A538 #38D557 #3868D5
square
#D538B6 #D5A538 #38D557 #3868D5
split-complementary
#D538B6 #68D538 #38D5A5
monochromatic
#791A66 #AC2491 #D538B6 #E06BC9 #EA9DDB

Accessibility & contrast

On white

4.14
#D538B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#D538B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D538B6
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D538B6#FFFFFF#000000##000000
##D538B61.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D6DB9
Deuteranopia (green-blind)
#7385B2
Tritanopia (blue-blind)
#E04273
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d538b6;
/* rgb */ color: rgb(213, 56, 182);
/* oklch */ color: oklch(61.9% 0.230 337.3);
Tailwind
colors: {
  custom: {
    50: '#e67ecc',
    500: '#d538b6',
    950: '#000000',
  },
}
SCSS
$custom: #d538b6;
$custom-light: #e67ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#d538b6",
  "rgb": {
    "r": 213,
    "g": 56,
    "b": 182
  },
  "hsl": {
    "h": 311.847,
    "s": 65.145,
    "l": 52.745
  },
  "oklch": {
    "l": 0.61872,
    "c": 0.23005,
    "h": 337.3
  },
  "luminance": 0.20352
}

Semantic roles & 50–950 ramp

primary
#D538B6
secondary
#92D6A0
accent
#E86140
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #D538B6

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

Preview Lab → · Contrast checker → · Palette generator →

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