#D538A6#D538A6

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

Color values

HEX#D538A6
RGBrgb(213, 56, 166)
HSLhsl(318, 65%, 53%)
HSVhsv(318, 74%, 84%)
CMYKcmyk(0%, 73.7%, 22.1%, 16.5%)
CIE-LABlab(51.53, 69.80, -24.37)
CIE-LCHlch(51.53, 73.93, 340.75°)
OKLaboklab(61.13% 0.2101 -0.0653)
OKLCHoklch(61.13% 0.22 342.7)
XYZxyz(35.7390, 19.7314, 37.9954)
Luminance0.1973 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D538A6 #38D567
analogous
#B638D5 #D538A6 #D53857
triadic
#D538A6 #A6D538 #38A6D5
tetradic
#D538A6 #D5B638 #38D567 #3857D5
square
#D538A6 #D5B638 #38D567 #3857D5
split-complementary
#D538A6 #57D538 #38D5B6
monochromatic
#791A5C #AC2483 #D538A6 #E06BBD #EA9DD3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D538A6#FFFFFF#000000##000000
##D538A61.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#486AA9
Deuteranopia (green-blind)
#7984A2
Tritanopia (blue-blind)
#E2396B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d538a6;
/* rgb */ color: rgb(213, 56, 166);
/* oklch */ color: oklch(61.1% 0.220 342.7);
Tailwind
colors: {
  custom: {
    50: '#e67dc0',
    500: '#d538a6',
    950: '#000000',
  },
}
SCSS
$custom: #d538a6;
$custom-light: #e67dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#d538a6",
  "rgb": {
    "r": 213,
    "g": 56,
    "b": 166
  },
  "hsl": {
    "h": 317.962,
    "s": 65.145,
    "l": 52.745
  },
  "oklch": {
    "l": 0.61133,
    "c": 0.21999,
    "h": 342.7
  },
  "luminance": 0.19728
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D538A6

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

Preview Lab → · Contrast checker → · Palette generator →

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