#DB407C#DB407C

#DB407C is a mid, vivid pink. Relative luminance 0.202; OKLCH L 61.2% C 0.196 H 1.4°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#DB407C
RGBrgb(219, 64, 124)
HSLhsl(337, 68%, 55%)
HSVhsv(337, 71%, 86%)
CMYKcmyk(0%, 70.8%, 43.4%, 14.1%)
CIE-LABlab(52.05, 64.00, 1.52)
CIE-LCHlch(52.05, 64.02, 1.36°)
OKLaboklab(61.22% 0.1961 0.0047)
OKLCHoklch(61.22% 0.196 1.4)
XYZxyz(34.6875, 20.1865, 21.1346)
Luminance0.2018 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB407C #40DB9F
analogous
#DB40CA #DB407C #DB5140
triadic
#DB407C #7CDB40 #407CDB
tetradic
#DB407C #CADB40 #40DB9F #5140DB
square
#DB407C #CADB40 #40DB9F #5140DB
split-complementary
#DB407C #40DB51 #40CADB
monochromatic
#871944 #BB235E #DB407C #E5739F #EEA7C3

Accessibility & contrast

On white

4.17
#DB407C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#DB407C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB407C
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB407C#FFFFFF#000000##000000
##DB407C1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#61697D
Deuteranopia (green-blind)
#8B8778
Tritanopia (blue-blind)
#ED2959
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #db407c;
/* rgb */ color: rgb(219, 64, 124);
/* oklch */ color: oklch(61.2% 0.196 1.4);
Tailwind
colors: {
  custom: {
    50: '#ec80a1',
    500: '#db407c',
    950: '#000000',
  },
}
SCSS
$custom: #db407c;
$custom-light: #ec80a1;
$custom-dark: #000000;
JSON
{
  "hex": "#db407c",
  "rgb": {
    "r": 219,
    "g": 64,
    "b": 124
  },
  "hsl": {
    "h": 336.774,
    "s": 68.282,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61222,
    "c": 0.19618,
    "h": 1.4
  },
  "luminance": 0.20182
}

Semantic roles & 50–950 ramp

primary
#DB407C
secondary
#9BDCC3
accent
#EBA83D
background
#FFF8F9
surface
#FFEFF2
border
#D7CACC
text
#170B0F
muted
#857C7E

Preview Lab

Preview with #DB407C

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

Preview Lab → · Contrast checker → · Palette generator →

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