#D538B5#D538B5

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

Color values

HEX#D538B5
RGBrgb(213, 56, 181)
HSLhsl(312, 65%, 53%)
HSVhsv(312, 74%, 84%)
CMYKcmyk(0%, 73.7%, 15%, 16.5%)
CIE-LABlab(52.19, 71.80, -32.14)
CIE-LCHlch(52.19, 78.67, 335.89°)
OKLaboklab(61.82% 0.2121 -0.0873)
OKLCHoklch(61.82% 0.229 337.6)
XYZxyz(37.1960, 20.3142, 45.6692)
Luminance0.2031 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D538B5 #38D558
analogous
#A638D5 #D538B5 #D53867
triadic
#D538B5 #B5D538 #38B5D5
tetradic
#D538B5 #D5A638 #38D558 #3867D5
square
#D538B5 #D5A638 #38D558 #3867D5
split-complementary
#D538B5 #67D538 #38D5A6
monochromatic
#791A66 #AC2490 #D538B5 #E06BC8 #EA9DDB

Accessibility & contrast

On white

4.15
#D538B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#D538B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D538B5
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D538B5#FFFFFF#000000##000000
##D538B51.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E6DB8
Deuteranopia (green-blind)
#7485B1
Tritanopia (blue-blind)
#E14173
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d538b5;
/* rgb */ color: rgb(213, 56, 181);
/* oklch */ color: oklch(61.8% 0.229 337.6);
Tailwind
colors: {
  custom: {
    50: '#e67ecb',
    500: '#d538b5',
    950: '#000000',
  },
}
SCSS
$custom: #d538b5;
$custom-light: #e67ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#d538b5",
  "rgb": {
    "r": 213,
    "g": 56,
    "b": 181
  },
  "hsl": {
    "h": 312.229,
    "s": 65.145,
    "l": 52.745
  },
  "oklch": {
    "l": 0.61824,
    "c": 0.22939,
    "h": 337.6
  },
  "luminance": 0.20311
}

Semantic roles & 50–950 ramp

primary
#D538B5
secondary
#92D6A0
accent
#E86240
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D538B5

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

Preview Lab → · Contrast checker → · Palette generator →

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