#DB38BB#DB38BB

#DB38BB is a light, highly saturated pink. Relative luminance 0.215; OKLCH L 63.0% C 0.237 H 337.3°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#DB38BB
RGBrgb(219, 56, 187)
HSLhsl(312, 69%, 54%)
HSVhsv(312, 74%, 86%)
CMYKcmyk(0%, 74.4%, 14.6%, 14.1%)
CIE-LABlab(53.47, 73.99, -33.55)
CIE-LCHlch(53.47, 81.24, 335.61°)
OKLaboklab(63.03% 0.2184 -0.0912)
OKLCHoklch(63.03% 0.237 337.3)
XYZxyz(39.5980, 21.4800, 49.0647)
Luminance0.2148 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB38BB #38DB58
analogous
#AA38DB #DB38BB #DB386A
triadic
#DB38BB #BBDB38 #38BBDB
tetradic
#DB38BB #DBAA38 #38DB58 #386ADB
square
#DB38BB #DBAA38 #38DB58 #386ADB
split-complementary
#DB38BB #6ADB38 #38DBAA
monochromatic
#81176C #B52198 #DB38BB #E46CCD #EEA0DE

Accessibility & contrast

On white

3.97
#DB38BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#DB38BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB38BB
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB38BB#FFFFFF#000000##000000
##DB38BB1.003.975.305.30
#FFFFFF3.971.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E70BF
Deuteranopia (green-blind)
#7689B7
Tritanopia (blue-blind)
#E74276
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #db38bb;
/* rgb */ color: rgb(219, 56, 187);
/* oklch */ color: oklch(63.0% 0.237 337.3);
Tailwind
colors: {
  custom: {
    50: '#ea7fd0',
    500: '#db38bb',
    950: '#000000',
  },
}
SCSS
$custom: #db38bb;
$custom-light: #ea7fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#db38bb",
  "rgb": {
    "r": 219,
    "g": 56,
    "b": 187
  },
  "hsl": {
    "h": 311.779,
    "s": 69.362,
    "l": 53.922
  },
  "oklch": {
    "l": 0.63027,
    "c": 0.23666,
    "h": 337.3
  },
  "luminance": 0.21476
}

Semantic roles & 50–950 ramp

primary
#DB38BB
secondary
#95DAA2
accent
#EC5E3C
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#170B14
muted
#857C82

Preview Lab

Preview with #DB38BB

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

Preview Lab → · Contrast checker → · Palette generator →

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