#D538A5#D538A5

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

Color values

HEX#D538A5
RGBrgb(213, 56, 165)
HSLhsl(318, 65%, 53%)
HSVhsv(318, 74%, 84%)
CMYKcmyk(0%, 73.7%, 22.5%, 16.5%)
CIE-LABlab(51.49, 69.67, -23.85)
CIE-LCHlch(51.49, 73.64, 341.11°)
OKLaboklab(61.09% 0.2099 -0.0638)
OKLCHoklch(61.09% 0.219 343.1)
XYZxyz(35.6476, 19.6948, 37.5142)
Luminance0.1969 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D538A5 #38D568
analogous
#B638D5 #D538A5 #D53856
triadic
#D538A5 #A5D538 #38A5D5
tetradic
#D538A5 #D5B638 #38D568 #3856D5
square
#D538A5 #D5B638 #38D568 #3856D5
split-complementary
#D538A5 #56D538 #38D5B6
monochromatic
#791A5C #AC2482 #D538A5 #E06BBC #EA9DD3

Accessibility & contrast

On white

4.25
#D538A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#D538A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D538A5
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D538A5#FFFFFF#000000##000000
##D538A51.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#496AA8
Deuteranopia (green-blind)
#7984A1
Tritanopia (blue-blind)
#E3386A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d538a5;
/* rgb */ color: rgb(213, 56, 165);
/* oklch */ color: oklch(61.1% 0.219 343.1);
Tailwind
colors: {
  custom: {
    50: '#e67dc0',
    500: '#d538a5',
    950: '#000000',
  },
}
SCSS
$custom: #d538a5;
$custom-light: #e67dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#d538a5",
  "rgb": {
    "r": 213,
    "g": 56,
    "b": 165
  },
  "hsl": {
    "h": 318.344,
    "s": 65.145,
    "l": 52.745
  },
  "oklch": {
    "l": 0.61089,
    "c": 0.21939,
    "h": 343.1
  },
  "luminance": 0.19691
}

Semantic roles & 50–950 ramp

primary
#D538A5
secondary
#92D6A7
accent
#E87340
background
#FEF8FB
surface
#FDEFF7
border
#D5CAD0
text
#170B12
muted
#857C81

Preview Lab

Preview with #D538A5

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

Preview Lab → · Contrast checker → · Palette generator →

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