#D538AF#D538AF

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

Color values

HEX#D538AF
RGBrgb(213, 56, 175)
HSLhsl(315, 65%, 53%)
HSVhsv(315, 74%, 84%)
CMYKcmyk(0%, 73.7%, 17.8%, 16.5%)
CIE-LABlab(51.92, 70.98, -29.06)
CIE-LCHlch(51.92, 76.70, 337.74°)
OKLaboklab(61.54% 0.2114 -0.0785)
OKLCHoklch(61.54% 0.226 339.6)
XYZxyz(36.5936, 20.0732, 42.4964)
Luminance0.2007 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D538AF #38D55E
analogous
#AC38D5 #D538AF #D53861
triadic
#D538AF #AFD538 #38AFD5
tetradic
#D538AF #D5AC38 #38D55E #3861D5
square
#D538AF #D5AC38 #38D55E #3861D5
split-complementary
#D538AF #61D538 #38D5AC
monochromatic
#791A62 #AC248B #D538AF #E06BC3 #EA9DD8

Accessibility & contrast

On white

4.19
#D538AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#D538AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D538AF
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D538AF#FFFFFF#000000##000000
##D538AF1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#426CB2
Deuteranopia (green-blind)
#7685AB
Tritanopia (blue-blind)
#E13E70
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d538af;
/* rgb */ color: rgb(213, 56, 175);
/* oklch */ color: oklch(61.5% 0.226 339.6);
Tailwind
colors: {
  custom: {
    50: '#e67ec7',
    500: '#d538af',
    950: '#000000',
  },
}
SCSS
$custom: #d538af;
$custom-light: #e67ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#d538af",
  "rgb": {
    "r": 213,
    "g": 56,
    "b": 175
  },
  "hsl": {
    "h": 314.522,
    "s": 65.145,
    "l": 52.745
  },
  "oklch": {
    "l": 0.6154,
    "c": 0.22553,
    "h": 339.6
  },
  "luminance": 0.2007
}

Semantic roles & 50–950 ramp

primary
#D538AF
secondary
#92D6A3
accent
#E86840
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D538AF

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

Preview Lab → · Contrast checker → · Palette generator →

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