#DB38A4#DB38A4

#DB38A4 is a mid, highly saturated pink. Relative luminance 0.206; OKLCH L 62.0% C 0.223 H 345.0°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#DB38A4
RGBrgb(219, 56, 164)
HSLhsl(320, 69%, 54%)
HSVhsv(320, 74%, 86%)
CMYKcmyk(0%, 74.4%, 25.1%, 14.1%)
CIE-LABlab(52.48, 71.00, -21.65)
CIE-LCHlch(52.48, 74.22, 343.04°)
OKLaboklab(61.99% 0.2151 -0.0576)
OKLCHoklch(61.99% 0.223 345)
XYZxyz(37.3300, 20.5728, 37.1198)
Luminance0.2057 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB38A4 #38DB6F
analogous
#C038DB #DB38A4 #DB3853
triadic
#DB38A4 #A4DB38 #38A4DB
tetradic
#DB38A4 #DBC038 #38DB6F #3853DB
square
#DB38A4 #DBC038 #38DB6F #3853DB
split-complementary
#DB38A4 #53DB38 #38DBC0
monochromatic
#81175E #B52183 #DB38A4 #E46CBC #EEA0D3

Accessibility & contrast

On white

4.11
#DB38A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#DB38A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB38A4
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB38A4#FFFFFF#000000##000000
##DB38A41.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D6CA7
Deuteranopia (green-blind)
#7E87A0
Tritanopia (blue-blind)
#EA356A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #db38a4;
/* rgb */ color: rgb(219, 56, 164);
/* oklch */ color: oklch(62.0% 0.223 345.0);
Tailwind
colors: {
  custom: {
    50: '#eb7ebf',
    500: '#db38a4',
    950: '#000000',
  },
}
SCSS
$custom: #db38a4;
$custom-light: #eb7ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#db38a4",
  "rgb": {
    "r": 219,
    "g": 56,
    "b": 164
  },
  "hsl": {
    "h": 320.245,
    "s": 69.362,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61985,
    "c": 0.22264,
    "h": 345
  },
  "luminance": 0.20569
}

Semantic roles & 50–950 ramp

primary
#DB38A4
secondary
#95DAAC
accent
#EC773C
background
#FFF8FB
surface
#FEEFF7
border
#D6CAD0
text
#170B12
muted
#857C81

Preview Lab

Preview with #DB38A4

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

Preview Lab → · Contrast checker → · Palette generator →

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