#D538B4#D538B4

#D538B4 is a mid, highly saturated pink. Relative luminance 0.203; OKLCH L 61.8% C 0.229 H 338.0°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#D538B4
RGBrgb(213, 56, 180)
HSLhsl(313, 65%, 53%)
HSVhsv(313, 74%, 84%)
CMYKcmyk(0%, 73.7%, 15.5%, 16.5%)
CIE-LABlab(52.14, 71.66, -31.63)
CIE-LCHlch(52.14, 78.33, 336.19°)
OKLaboklab(61.78% 0.212 -0.0859)
OKLCHoklch(61.78% 0.229 338)
XYZxyz(37.0938, 20.2733, 45.1307)
Luminance0.2027 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D538B4 #38D559
analogous
#A738D5 #D538B4 #D53866
triadic
#D538B4 #B4D538 #38B4D5
tetradic
#D538B4 #D5A738 #38D559 #3866D5
square
#D538B4 #D5A738 #38D559 #3866D5
split-complementary
#D538B4 #66D538 #38D5A7
monochromatic
#791A65 #AC248F #D538B4 #E06BC7 #EA9DDA

Accessibility & contrast

On white

4.16
#D538B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#D538B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D538B4
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D538B4#FFFFFF#000000##000000
##D538B41.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F6DB7
Deuteranopia (green-blind)
#7485B0
Tritanopia (blue-blind)
#E14072
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d538b4;
/* rgb */ color: rgb(213, 56, 180);
/* oklch */ color: oklch(61.8% 0.229 338.0);
Tailwind
colors: {
  custom: {
    50: '#e67ecb',
    500: '#d538b4',
    950: '#000000',
  },
}
SCSS
$custom: #d538b4;
$custom-light: #e67ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#d538b4",
  "rgb": {
    "r": 213,
    "g": 56,
    "b": 180
  },
  "hsl": {
    "h": 312.611,
    "s": 65.145,
    "l": 52.745
  },
  "oklch": {
    "l": 0.61776,
    "c": 0.22874,
    "h": 338
  },
  "luminance": 0.2027
}

Semantic roles & 50–950 ramp

primary
#D538B4
secondary
#92D6A1
accent
#E86340
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D538B4

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

Preview Lab → · Contrast checker → · Palette generator →

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