#D538B1#D538B1

#D538B1 is a mid, highly saturated pink. Relative luminance 0.201; OKLCH L 61.6% C 0.227 H 338.9°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#D538B1
RGBrgb(213, 56, 177)
HSLhsl(314, 65%, 53%)
HSVhsv(314, 74%, 84%)
CMYKcmyk(0%, 73.7%, 16.9%, 16.5%)
CIE-LABlab(52.01, 71.25, -30.09)
CIE-LCHlch(52.01, 77.34, 337.11°)
OKLaboklab(61.63% 0.2117 -0.0815)
OKLCHoklch(61.63% 0.227 338.9)
XYZxyz(36.7915, 20.1524, 43.5386)
Luminance0.2015 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D538B1 #38D55C
analogous
#AA38D5 #D538B1 #D53862
triadic
#D538B1 #B1D538 #38B1D5
tetradic
#D538B1 #D5AA38 #38D55C #3862D5
square
#D538B1 #D5AA38 #38D55C #3862D5
split-complementary
#D538B1 #62D538 #38D5AA
monochromatic
#791A63 #AC248D #D538B1 #E06BC5 #EA9DD9

Accessibility & contrast

On white

4.18
#D538B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#D538B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D538B1
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D538B1#FFFFFF#000000##000000
##D538B11.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#416CB4
Deuteranopia (green-blind)
#7585AD
Tritanopia (blue-blind)
#E13F71
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d538b1;
/* rgb */ color: rgb(213, 56, 177);
/* oklch */ color: oklch(61.6% 0.227 338.9);
Tailwind
colors: {
  custom: {
    50: '#e67ec8',
    500: '#d538b1',
    950: '#000000',
  },
}
SCSS
$custom: #d538b1;
$custom-light: #e67ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#d538b1",
  "rgb": {
    "r": 213,
    "g": 56,
    "b": 177
  },
  "hsl": {
    "h": 313.758,
    "s": 65.145,
    "l": 52.745
  },
  "oklch": {
    "l": 0.61634,
    "c": 0.2268,
    "h": 338.9
  },
  "luminance": 0.20149
}

Semantic roles & 50–950 ramp

primary
#D538B1
secondary
#92D6A2
accent
#E86640
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D538B1

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

Preview Lab → · Contrast checker → · Palette generator →

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