#D038AC#D038AC

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

Color values

HEX#D038AC
RGBrgb(208, 56, 172)
HSLhsl(314, 62%, 52%)
HSVhsv(314, 73%, 82%)
CMYKcmyk(0%, 73.1%, 17.3%, 18.4%)
CIE-LABlab(50.94, 69.40, -28.88)
CIE-LCHlch(50.94, 75.17, 337.41°)
OKLaboklab(60.63% 0.2064 -0.0781)
OKLCHoklch(60.63% 0.221 339.3)
XYZxyz(34.8739, 19.2202, 40.8950)
Luminance0.1922 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D038AC #38D05C
analogous
#A838D0 #D038AC #D03860
triadic
#D038AC #ACD038 #38ACD0
tetradic
#D038AC #D0A838 #38D05C #3860D0
square
#D038AC #D0A838 #38D05C #3860D0
split-complementary
#D038AC #60D038 #38D0A8
monochromatic
#731B5E #A42786 #D038AC #DC6AC1 #E79BD5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D038AC#FFFFFF#000000##000000
##D038AC1.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)
#416AAF
Deuteranopia (green-blind)
#7382A8
Tritanopia (blue-blind)
#DC3E6E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d038ac;
/* rgb */ color: rgb(208, 56, 172);
/* oklch */ color: oklch(60.6% 0.221 339.3);
Tailwind
colors: {
  custom: {
    50: '#e27dc5',
    500: '#d038ac',
    950: '#000000',
  },
}
SCSS
$custom: #d038ac;
$custom-light: #e27dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#d038ac",
  "rgb": {
    "r": 208,
    "g": 56,
    "b": 172
  },
  "hsl": {
    "h": 314.211,
    "s": 61.789,
    "l": 51.765
  },
  "oklch": {
    "l": 0.60632,
    "c": 0.22065,
    "h": 339.3
  },
  "luminance": 0.19217
}

Semantic roles & 50–950 ramp

primary
#D038AC
secondary
#91D3A0
accent
#E56943
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D038AC

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

Preview Lab → · Contrast checker → · Palette generator →

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