#DB407B#DB407B

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

Color values

HEX#DB407B
RGBrgb(219, 64, 123)
HSLhsl(337, 68%, 55%)
HSVhsv(337, 71%, 86%)
CMYKcmyk(0%, 70.8%, 43.8%, 14.1%)
CIE-LABlab(52.02, 63.91, 2.08)
CIE-LCHlch(52.02, 63.94, 1.87°)
OKLaboklab(61.19% 0.1958 0.0061)
OKLCHoklch(61.19% 0.196 1.8)
XYZxyz(34.6246, 20.1613, 20.8033)
Luminance0.2016 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB407B #40DBA0
analogous
#DB40C9 #DB407B #DB5240
triadic
#DB407B #7BDB40 #407BDB
tetradic
#DB407B #C9DB40 #40DBA0 #5240DB
square
#DB407B #C9DB40 #40DBA0 #5240DB
split-complementary
#DB407B #40DB52 #40C9DB
monochromatic
#871943 #BB235D #DB407B #E5739F #EEA7C2

Accessibility & contrast

On white

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

On black

5.03
#DB407B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB407B
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB407B#FFFFFF#000000##000000
##DB407B1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#62697C
Deuteranopia (green-blind)
#8B8777
Tritanopia (blue-blind)
#ED2859
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #db407b;
/* rgb */ color: rgb(219, 64, 123);
/* oklch */ color: oklch(61.2% 0.196 1.8);
Tailwind
colors: {
  custom: {
    50: '#ec80a1',
    500: '#db407b',
    950: '#000000',
  },
}
SCSS
$custom: #db407b;
$custom-light: #ec80a1;
$custom-dark: #000000;
JSON
{
  "hex": "#db407b",
  "rgb": {
    "r": 219,
    "g": 64,
    "b": 123
  },
  "hsl": {
    "h": 337.161,
    "s": 68.282,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61192,
    "c": 0.19588,
    "h": 1.8
  },
  "luminance": 0.20157
}

Semantic roles & 50–950 ramp

primary
#DB407B
secondary
#9BDCC3
accent
#EBA93D
background
#FFF8F9
surface
#FFEFF2
border
#D7CACC
text
#170B0E
muted
#857C7E

Preview Lab

Preview with #DB407B

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

Preview Lab → · Contrast checker → · Palette generator →

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