#D038BC#D038BC

#D038BC is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 61.4% C 0.231 H 334.0°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#D038BC
RGBrgb(208, 56, 188)
HSLhsl(308, 62%, 52%)
HSVhsv(308, 73%, 82%)
CMYKcmyk(0%, 73.1%, 9.6%, 18.4%)
CIE-LABlab(51.69, 71.67, -37.05)
CIE-LCHlch(51.69, 80.68, 332.66°)
OKLaboklab(61.42% 0.2079 -0.1015)
OKLCHoklch(61.42% 0.231 334)
XYZxyz(36.5040, 19.8722, 49.4804)
Luminance0.1987 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D038BC #38D04C
analogous
#9838D0 #D038BC #D03870
triadic
#D038BC #BCD038 #38BCD0
tetradic
#D038BC #D09838 #38D04C #3870D0
square
#D038BC #D09838 #38D04C #3870D0
split-complementary
#D038BC #70D038 #38D098
monochromatic
#731B67 #A42794 #D038BC #DC6ACD #E79BDD

Accessibility & contrast

On white

4.22
#D038BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#D038BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D038BC
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D038BC#FFFFFF#000000##000000
##D038BC1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#346DC0
Deuteranopia (green-blind)
#6C83B8
Tritanopia (blue-blind)
#DA4677
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d038bc;
/* rgb */ color: rgb(208, 56, 188);
/* oklch */ color: oklch(61.4% 0.231 334.0);
Tailwind
colors: {
  custom: {
    50: '#e27dd0',
    500: '#d038bc',
    950: '#000000',
  },
}
SCSS
$custom: #d038bc;
$custom-light: #e27dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#d038bc",
  "rgb": {
    "r": 208,
    "g": 56,
    "b": 188
  },
  "hsl": {
    "h": 307.895,
    "s": 61.789,
    "l": 51.765
  },
  "oklch": {
    "l": 0.61416,
    "c": 0.23138,
    "h": 334
  },
  "luminance": 0.19869
}

Semantic roles & 50–950 ramp

primary
#D038BC
secondary
#91D399
accent
#E55843
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #D038BC

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

Preview Lab → · Contrast checker → · Palette generator →

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