#DB38B8#DB38B8

#DB38B8 is a light, highly saturated pink. Relative luminance 0.213; OKLCH L 62.9% C 0.235 H 338.3°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#DB38B8
RGBrgb(219, 56, 184)
HSLhsl(313, 69%, 54%)
HSVhsv(313, 74%, 86%)
CMYKcmyk(0%, 74.4%, 16%, 14.1%)
CIE-LABlab(53.33, 73.58, -32.03)
CIE-LCHlch(53.33, 80.25, 336.48°)
OKLaboklab(62.88% 0.2181 -0.0869)
OKLCHoklch(62.88% 0.235 338.3)
XYZxyz(39.2802, 21.3529, 47.3909)
Luminance0.2135 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB38B8 #38DB5B
analogous
#AC38DB #DB38B8 #DB3867
triadic
#DB38B8 #B8DB38 #38B8DB
tetradic
#DB38B8 #DBAC38 #38DB5B #3867DB
square
#DB38B8 #DBAC38 #38DB5B #3867DB
split-complementary
#DB38B8 #67DB38 #38DBAC
monochromatic
#81176A #B52195 #DB38B8 #E46CCA #EEA0DD

Accessibility & contrast

On white

3.98
#DB38B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#DB38B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB38B8
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB38B8#FFFFFF#000000##000000
##DB38B81.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#406FBB
Deuteranopia (green-blind)
#7788B4
Tritanopia (blue-blind)
#E74075
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #db38b8;
/* rgb */ color: rgb(219, 56, 184);
/* oklch */ color: oklch(62.9% 0.235 338.3);
Tailwind
colors: {
  custom: {
    50: '#ea7fcd',
    500: '#db38b8',
    950: '#000000',
  },
}
SCSS
$custom: #db38b8;
$custom-light: #ea7fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#db38b8",
  "rgb": {
    "r": 219,
    "g": 56,
    "b": 184
  },
  "hsl": {
    "h": 312.883,
    "s": 69.362,
    "l": 53.922
  },
  "oklch": {
    "l": 0.62883,
    "c": 0.23473,
    "h": 338.3
  },
  "luminance": 0.21349
}

Semantic roles & 50–950 ramp

primary
#DB38B8
secondary
#95DAA4
accent
#EC623C
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#170B13
muted
#857C82

Preview Lab

Preview with #DB38B8

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

Preview Lab → · Contrast checker → · Palette generator →

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