#D538B7#D538B7

#D538B7 is a mid, highly saturated pink. Relative luminance 0.204; OKLCH L 61.9% C 0.231 H 337.0°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#D538B7
RGBrgb(213, 56, 183)
HSLhsl(311, 65%, 53%)
HSVhsv(311, 74%, 84%)
CMYKcmyk(0%, 73.7%, 14.1%, 16.5%)
CIE-LABlab(52.28, 72.08, -33.16)
CIE-LCHlch(52.28, 79.34, 335.29°)
OKLaboklab(61.92% 0.2123 -0.0902)
OKLCHoklch(61.92% 0.231 337)
XYZxyz(37.4027, 20.3969, 46.7577)
Luminance0.2039 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D538B7 #38D556
analogous
#A438D5 #D538B7 #D53868
triadic
#D538B7 #B7D538 #38B7D5
tetradic
#D538B7 #D5A438 #38D556 #3868D5
square
#D538B7 #D5A438 #38D556 #3868D5
split-complementary
#D538B7 #68D538 #38D5A4
monochromatic
#791A67 #AC2492 #D538B7 #E06BC9 #EA9DDC

Accessibility & contrast

On white

4.13
#D538B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#D538B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D538B7
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D538B7#FFFFFF#000000##000000
##D538B71.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D6DBA
Deuteranopia (green-blind)
#7385B3
Tritanopia (blue-blind)
#E04274
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d538b7;
/* rgb */ color: rgb(213, 56, 183);
/* oklch */ color: oklch(61.9% 0.231 337.0);
Tailwind
colors: {
  custom: {
    50: '#e67ecd',
    500: '#d538b7',
    950: '#000000',
  },
}
SCSS
$custom: #d538b7;
$custom-light: #e67ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#d538b7",
  "rgb": {
    "r": 213,
    "g": 56,
    "b": 183
  },
  "hsl": {
    "h": 311.465,
    "s": 65.145,
    "l": 52.745
  },
  "oklch": {
    "l": 0.61921,
    "c": 0.23071,
    "h": 337
  },
  "luminance": 0.20393
}

Semantic roles & 50–950 ramp

primary
#D538B7
secondary
#92D69F
accent
#E86040
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #D538B7

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

Preview Lab → · Contrast checker → · Palette generator →

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