#D538B3#D538B3

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

Color values

HEX#D538B3
RGBrgb(213, 56, 179)
HSLhsl(313, 65%, 53%)
HSVhsv(313, 74%, 84%)
CMYKcmyk(0%, 73.7%, 16%, 16.5%)
CIE-LABlab(52.10, 71.53, -31.12)
CIE-LCHlch(52.10, 78.00, 336.49°)
OKLaboklab(61.73% 0.2119 -0.0844)
OKLCHoklch(61.73% 0.228 338.3)
XYZxyz(36.9923, 20.2327, 44.5962)
Luminance0.2023 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D538B3 #38D55A
analogous
#A938D5 #D538B3 #D53864
triadic
#D538B3 #B3D538 #38B3D5
tetradic
#D538B3 #D5A938 #38D55A #3864D5
square
#D538B3 #D5A938 #38D55A #3864D5
split-complementary
#D538B3 #64D538 #38D5A9
monochromatic
#791A64 #AC248E #D538B3 #E06BC6 #EA9DDA

Accessibility & contrast

On white

4.16
#D538B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#D538B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D538B3
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D538B3#FFFFFF#000000##000000
##D538B31.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#406DB6
Deuteranopia (green-blind)
#7485AF
Tritanopia (blue-blind)
#E14072
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d538b3;
/* rgb */ color: rgb(213, 56, 179);
/* oklch */ color: oklch(61.7% 0.228 338.3);
Tailwind
colors: {
  custom: {
    50: '#e67eca',
    500: '#d538b3',
    950: '#000000',
  },
}
SCSS
$custom: #d538b3;
$custom-light: #e67eca;
$custom-dark: #000000;
JSON
{
  "hex": "#d538b3",
  "rgb": {
    "r": 213,
    "g": 56,
    "b": 179
  },
  "hsl": {
    "h": 312.994,
    "s": 65.145,
    "l": 52.745
  },
  "oklch": {
    "l": 0.61728,
    "c": 0.22809,
    "h": 338.3
  },
  "luminance": 0.20229
}

Semantic roles & 50–950 ramp

primary
#D538B3
secondary
#92D6A1
accent
#E86440
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D538B3

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

Preview Lab → · Contrast checker → · Palette generator →

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