#DB38AB#DB38AB

#DB38AB is a light, highly saturated pink. Relative luminance 0.208; OKLCH L 62.3% C 0.227 H 342.6°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#DB38AB
RGBrgb(219, 56, 171)
HSLhsl(318, 69%, 54%)
HSVhsv(318, 74%, 86%)
CMYKcmyk(0%, 74.4%, 21.9%, 14.1%)
CIE-LABlab(52.77, 71.87, -25.32)
CIE-LCHlch(52.77, 76.20, 340.59°)
OKLaboklab(62.29% 0.2163 -0.0679)
OKLCHoklch(62.29% 0.227 342.6)
XYZxyz(37.9796, 20.8326, 40.5411)
Luminance0.2083 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB38AB #38DB68
analogous
#BA38DB #DB38AB #DB385A
triadic
#DB38AB #ABDB38 #38ABDB
tetradic
#DB38AB #DBBA38 #38DB68 #385ADB
square
#DB38AB #DBBA38 #38DB68 #385ADB
split-complementary
#DB38AB #5ADB38 #38DBBA
monochromatic
#811762 #B52189 #DB38AB #E46CC1 #EEA0D7

Accessibility & contrast

On white

4.07
#DB38AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#DB38AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB38AB
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB38AB#FFFFFF#000000##000000
##DB38AB1.004.075.175.17
#FFFFFF4.071.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#496DAE
Deuteranopia (green-blind)
#7C88A7
Tritanopia (blue-blind)
#E9396E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #db38ab;
/* rgb */ color: rgb(219, 56, 171);
/* oklch */ color: oklch(62.3% 0.227 342.6);
Tailwind
colors: {
  custom: {
    50: '#eb7ec4',
    500: '#db38ab',
    950: '#000000',
  },
}
SCSS
$custom: #db38ab;
$custom-light: #eb7ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#db38ab",
  "rgb": {
    "r": 219,
    "g": 56,
    "b": 171
  },
  "hsl": {
    "h": 317.669,
    "s": 69.362,
    "l": 53.922
  },
  "oklch": {
    "l": 0.62287,
    "c": 0.22669,
    "h": 342.6
  },
  "luminance": 0.20829
}

Semantic roles & 50–950 ramp

primary
#DB38AB
secondary
#95DAA9
accent
#EC703C
background
#FFF8FC
surface
#FEEFF8
border
#D6CAD1
text
#170B12
muted
#857C81

Preview Lab

Preview with #DB38AB

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

Preview Lab → · Contrast checker → · Palette generator →

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