#D538B2#D538B2

#D538B2 is a mid, highly saturated pink. Relative luminance 0.202; OKLCH L 61.7% C 0.227 H 338.6°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#D538B2
RGBrgb(213, 56, 178)
HSLhsl(313, 65%, 53%)
HSVhsv(313, 74%, 84%)
CMYKcmyk(0%, 73.7%, 16.4%, 16.5%)
CIE-LABlab(52.05, 71.39, -30.60)
CIE-LCHlch(52.05, 77.67, 336.80°)
OKLaboklab(61.68% 0.2118 -0.0829)
OKLCHoklch(61.68% 0.227 338.6)
XYZxyz(36.8915, 20.1924, 44.0655)
Luminance0.2019 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D538B2 #38D55B
analogous
#AA38D5 #D538B2 #D53863
triadic
#D538B2 #B2D538 #38B2D5
tetradic
#D538B2 #D5AA38 #38D55B #3863D5
square
#D538B2 #D5AA38 #38D55B #3863D5
split-complementary
#D538B2 #63D538 #38D5AA
monochromatic
#791A64 #AC248D #D538B2 #E06BC6 #EA9DD9

Accessibility & contrast

On white

4.17
#D538B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#D538B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D538B2
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D538B2#FFFFFF#000000##000000
##D538B21.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#406DB5
Deuteranopia (green-blind)
#7585AE
Tritanopia (blue-blind)
#E13F71
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d538b2;
/* rgb */ color: rgb(213, 56, 178);
/* oklch */ color: oklch(61.7% 0.227 338.6);
Tailwind
colors: {
  custom: {
    50: '#e67ec9',
    500: '#d538b2',
    950: '#000000',
  },
}
SCSS
$custom: #d538b2;
$custom-light: #e67ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#d538b2",
  "rgb": {
    "r": 213,
    "g": 56,
    "b": 178
  },
  "hsl": {
    "h": 313.376,
    "s": 65.145,
    "l": 52.745
  },
  "oklch": {
    "l": 0.61681,
    "c": 0.22744,
    "h": 338.6
  },
  "luminance": 0.20189
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D538B2

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

Preview Lab → · Contrast checker → · Palette generator →

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