#D038AB#D038AB

#D038AB is a mid, highly saturated pink. Relative luminance 0.192; OKLCH L 60.6% C 0.220 H 339.6°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#D038AB
RGBrgb(208, 56, 171)
HSLhsl(315, 62%, 52%)
HSVhsv(315, 73%, 82%)
CMYKcmyk(0%, 73.1%, 17.8%, 18.4%)
CIE-LABlab(50.90, 69.26, -28.36)
CIE-LCHlch(50.90, 74.85, 337.73°)
OKLaboklab(60.59% 0.2062 -0.0766)
OKLCHoklch(60.59% 0.22 339.6)
XYZxyz(34.7782, 19.1819, 40.3911)
Luminance0.1918 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D038AB #38D05D
analogous
#A938D0 #D038AB #D0385F
triadic
#D038AB #ABD038 #38ABD0
tetradic
#D038AB #D0A938 #38D05D #385FD0
square
#D038AB #D0A938 #38D05D #385FD0
split-complementary
#D038AB #5FD038 #38D0A9
monochromatic
#731B5D #A42786 #D038AB #DC6AC0 #E79BD5

Accessibility & contrast

On white

4.34
#D038AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#D038AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D038AB
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D038AB#FFFFFF#000000##000000
##D038AB1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#426AAE
Deuteranopia (green-blind)
#7382A7
Tritanopia (blue-blind)
#DC3E6D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d038ab;
/* rgb */ color: rgb(208, 56, 171);
/* oklch */ color: oklch(60.6% 0.220 339.6);
Tailwind
colors: {
  custom: {
    50: '#e27dc4',
    500: '#d038ab',
    950: '#000000',
  },
}
SCSS
$custom: #d038ab;
$custom-light: #e27dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#d038ab",
  "rgb": {
    "r": 208,
    "g": 56,
    "b": 171
  },
  "hsl": {
    "h": 314.605,
    "s": 61.789,
    "l": 51.765
  },
  "oklch": {
    "l": 0.60585,
    "c": 0.22,
    "h": 339.6
  },
  "luminance": 0.19179
}

Semantic roles & 50–950 ramp

primary
#D038AB
secondary
#91D3A1
accent
#E56A43
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #D038AB

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

Preview Lab → · Contrast checker → · Palette generator →

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