#D538A7#D538A7

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

Color values

HEX#D538A7
RGBrgb(213, 56, 167)
HSLhsl(318, 65%, 53%)
HSVhsv(318, 74%, 84%)
CMYKcmyk(0%, 73.7%, 21.6%, 16.5%)
CIE-LABlab(51.57, 69.93, -24.90)
CIE-LCHlch(51.57, 74.23, 340.40°)
OKLaboklab(61.18% 0.2102 -0.0668)
OKLCHoklch(61.18% 0.221 342.4)
XYZxyz(35.8310, 19.7682, 38.4804)
Luminance0.1976 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D538A7 #38D566
analogous
#B538D5 #D538A7 #D53858
triadic
#D538A7 #A7D538 #38A7D5
tetradic
#D538A7 #D5B538 #38D566 #3858D5
square
#D538A7 #D5B538 #38D566 #3858D5
split-complementary
#D538A7 #58D538 #38D5B5
monochromatic
#791A5D #AC2484 #D538A7 #E06BBD #EA9DD4

Accessibility & contrast

On white

4.24
#D538A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#D538A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D538A7
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D538A7#FFFFFF#000000##000000
##D538A71.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#476BAA
Deuteranopia (green-blind)
#7984A3
Tritanopia (blue-blind)
#E23A6B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d538a7;
/* rgb */ color: rgb(213, 56, 167);
/* oklch */ color: oklch(61.2% 0.221 342.4);
Tailwind
colors: {
  custom: {
    50: '#e67dc1',
    500: '#d538a7',
    950: '#000000',
  },
}
SCSS
$custom: #d538a7;
$custom-light: #e67dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#d538a7",
  "rgb": {
    "r": 213,
    "g": 56,
    "b": 167
  },
  "hsl": {
    "h": 317.58,
    "s": 65.145,
    "l": 52.745
  },
  "oklch": {
    "l": 0.61177,
    "c": 0.22058,
    "h": 342.4
  },
  "luminance": 0.19765
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D538A7

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

Preview Lab → · Contrast checker → · Palette generator →

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