#D538B0#D538B0

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

Color values

HEX#D538B0
RGBrgb(213, 56, 176)
HSLhsl(314, 65%, 53%)
HSVhsv(314, 74%, 84%)
CMYKcmyk(0%, 73.7%, 17.4%, 16.5%)
CIE-LABlab(51.96, 71.12, -29.57)
CIE-LCHlch(51.96, 77.02, 337.42°)
OKLaboklab(61.59% 0.2115 -0.08)
OKLCHoklch(61.59% 0.226 339.3)
XYZxyz(36.6922, 20.1126, 43.0156)
Luminance0.2011 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D538B0 #38D55D
analogous
#AB38D5 #D538B0 #D53862
triadic
#D538B0 #B0D538 #38B0D5
tetradic
#D538B0 #D5AB38 #38D55D #3862D5
square
#D538B0 #D5AB38 #38D55D #3862D5
split-complementary
#D538B0 #62D538 #38D5AB
monochromatic
#791A63 #AC248C #D538B0 #E06BC4 #EA9DD8

Accessibility & contrast

On white

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

On black

5.02
#D538B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D538B0
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D538B0#FFFFFF#000000##000000
##D538B01.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#426CB3
Deuteranopia (green-blind)
#7585AC
Tritanopia (blue-blind)
#E13E70
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d538b0;
/* rgb */ color: rgb(213, 56, 176);
/* oklch */ color: oklch(61.6% 0.226 339.3);
Tailwind
colors: {
  custom: {
    50: '#e67ec8',
    500: '#d538b0',
    950: '#000000',
  },
}
SCSS
$custom: #d538b0;
$custom-light: #e67ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#d538b0",
  "rgb": {
    "r": 213,
    "g": 56,
    "b": 176
  },
  "hsl": {
    "h": 314.14,
    "s": 65.145,
    "l": 52.745
  },
  "oklch": {
    "l": 0.61587,
    "c": 0.22617,
    "h": 339.3
  },
  "luminance": 0.20109
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D538B0

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

Preview Lab → · Contrast checker → · Palette generator →

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