#D538A4#D538A4

#D538A4 is a mid, highly saturated pink. Relative luminance 0.197; OKLCH L 61.0% C 0.219 H 343.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#D538A4
RGBrgb(213, 56, 164)
HSLhsl(319, 65%, 53%)
HSVhsv(319, 74%, 84%)
CMYKcmyk(0%, 73.7%, 23%, 16.5%)
CIE-LABlab(51.45, 69.54, -23.32)
CIE-LCHlch(51.45, 73.35, 341.46°)
OKLaboklab(61.05% 0.2097 -0.0624)
OKLCHoklch(61.05% 0.219 343.4)
XYZxyz(35.5569, 19.6586, 37.0367)
Luminance0.1966 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D538A4 #38D569
analogous
#B738D5 #D538A4 #D53856
triadic
#D538A4 #A4D538 #38A4D5
tetradic
#D538A4 #D5B738 #38D569 #3856D5
square
#D538A4 #D5B738 #38D569 #3856D5
split-complementary
#D538A4 #56D538 #38D5B7
monochromatic
#791A5B #AC2481 #D538A4 #E06BBB #EA9DD2

Accessibility & contrast

On white

4.26
#D538A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#D538A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D538A4
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D538A4#FFFFFF#000000##000000
##D538A41.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#496AA7
Deuteranopia (green-blind)
#7A84A0
Tritanopia (blue-blind)
#E3386A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d538a4;
/* rgb */ color: rgb(213, 56, 164);
/* oklch */ color: oklch(61.0% 0.219 343.4);
Tailwind
colors: {
  custom: {
    50: '#e67dbf',
    500: '#d538a4',
    950: '#000000',
  },
}
SCSS
$custom: #d538a4;
$custom-light: #e67dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#d538a4",
  "rgb": {
    "r": 213,
    "g": 56,
    "b": 164
  },
  "hsl": {
    "h": 318.726,
    "s": 65.145,
    "l": 52.745
  },
  "oklch": {
    "l": 0.61045,
    "c": 0.21879,
    "h": 343.4
  },
  "luminance": 0.19655
}

Semantic roles & 50–950 ramp

primary
#D538A4
secondary
#92D6A8
accent
#E87440
background
#FEF8FB
surface
#FDEFF7
border
#D5CAD0
text
#170B12
muted
#857C81

Preview Lab

Preview with #D538A4

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

Preview Lab → · Contrast checker → · Palette generator →

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