#D038AF#D038AF

#D038AF is a mid, highly saturated pink. Relative luminance 0.193; OKLCH L 60.8% C 0.223 H 338.2°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#D038AF
RGBrgb(208, 56, 175)
HSLhsl(313, 62%, 52%)
HSVhsv(313, 73%, 82%)
CMYKcmyk(0%, 73.1%, 15.9%, 18.4%)
CIE-LABlab(51.08, 69.81, -30.43)
CIE-LCHlch(51.08, 76.16, 336.45°)
OKLaboklab(60.77% 0.2067 -0.0825)
OKLCHoklch(60.77% 0.223 338.2)
XYZxyz(35.1652, 19.3367, 42.4295)
Luminance0.1933 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D038AF #38D059
analogous
#A538D0 #D038AF #D03863
triadic
#D038AF #AFD038 #38AFD0
tetradic
#D038AF #D0A538 #38D059 #3863D0
square
#D038AF #D0A538 #38D059 #3863D0
split-complementary
#D038AF #63D038 #38D0A5
monochromatic
#731B60 #A42789 #D038AF #DC6AC3 #E79BD7

Accessibility & contrast

On white

4.32
#D038AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#D038AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D038AF
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D038AF#FFFFFF#000000##000000
##D038AF1.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F6BB2
Deuteranopia (green-blind)
#7282AB
Tritanopia (blue-blind)
#DC4070
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d038af;
/* rgb */ color: rgb(208, 56, 175);
/* oklch */ color: oklch(60.8% 0.223 338.2);
Tailwind
colors: {
  custom: {
    50: '#e27dc7',
    500: '#d038af',
    950: '#000000',
  },
}
SCSS
$custom: #d038af;
$custom-light: #e27dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#d038af",
  "rgb": {
    "r": 208,
    "g": 56,
    "b": 175
  },
  "hsl": {
    "h": 313.026,
    "s": 61.789,
    "l": 51.765
  },
  "oklch": {
    "l": 0.60774,
    "c": 0.22259,
    "h": 338.2
  },
  "luminance": 0.19333
}

Semantic roles & 50–950 ramp

primary
#D038AF
secondary
#91D39F
accent
#E56643
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D038AF

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

Preview Lab → · Contrast checker → · Palette generator →

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