#D538A8#D538A8

#D538A8 is a mid, highly saturated pink. Relative luminance 0.198; OKLCH L 61.2% C 0.221 H 342.0°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#D538A8
RGBrgb(213, 56, 168)
HSLhsl(317, 65%, 53%)
HSVhsv(317, 74%, 84%)
CMYKcmyk(0%, 73.7%, 21.1%, 16.5%)
CIE-LABlab(51.62, 70.06, -25.42)
CIE-LCHlch(51.62, 74.53, 340.06°)
OKLaboklab(61.22% 0.2104 -0.0683)
OKLCHoklch(61.22% 0.221 342)
XYZxyz(35.9238, 19.8053, 38.9691)
Luminance0.1980 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D538A8 #38D565
analogous
#B338D5 #D538A8 #D5385A
triadic
#D538A8 #A8D538 #38A8D5
tetradic
#D538A8 #D5B338 #38D565 #385AD5
square
#D538A8 #D5B338 #38D565 #385AD5
split-complementary
#D538A8 #5AD538 #38D5B3
monochromatic
#791A5E #AC2485 #D538A8 #E06BBE #EA9DD4

Accessibility & contrast

On white

4.23
#D538A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#D538A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D538A8
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D538A8#FFFFFF#000000##000000
##D538A81.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#476BAB
Deuteranopia (green-blind)
#7884A4
Tritanopia (blue-blind)
#E23A6C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d538a8;
/* rgb */ color: rgb(213, 56, 168);
/* oklch */ color: oklch(61.2% 0.221 342.0);
Tailwind
colors: {
  custom: {
    50: '#e67dc2',
    500: '#d538a8',
    950: '#000000',
  },
}
SCSS
$custom: #d538a8;
$custom-light: #e67dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#d538a8",
  "rgb": {
    "r": 213,
    "g": 56,
    "b": 168
  },
  "hsl": {
    "h": 317.197,
    "s": 65.145,
    "l": 52.745
  },
  "oklch": {
    "l": 0.61222,
    "c": 0.22119,
    "h": 342
  },
  "luminance": 0.19802
}

Semantic roles & 50–950 ramp

primary
#D538A8
secondary
#92D6A6
accent
#E87040
background
#FEF8FB
surface
#FDEFF7
border
#D5CAD0
text
#170B12
muted
#857C81

Preview Lab

Preview with #D538A8

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

Preview Lab → · Contrast checker → · Palette generator →

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