#DB4082#DB4082

#DB4082 is a mid, vivid pink. Relative luminance 0.203; OKLCH L 61.4% C 0.198 H 358.8°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#DB4082
RGBrgb(219, 64, 130)
HSLhsl(334, 68%, 55%)
HSVhsv(334, 71%, 86%)
CMYKcmyk(0%, 70.8%, 40.6%, 14.1%)
CIE-LABlab(52.22, 64.59, -1.82)
CIE-LCHlch(52.22, 64.61, 358.39°)
OKLaboklab(61.41% 0.1981 -0.004)
OKLCHoklch(61.41% 0.198 358.8)
XYZxyz(35.0786, 20.3429, 23.1941)
Luminance0.2034 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB4082 #40DB99
analogous
#DB40CF #DB4082 #DB4C40
triadic
#DB4082 #82DB40 #4082DB
tetradic
#DB4082 #CFDB40 #40DB99 #4C40DB
square
#DB4082 #CFDB40 #40DB99 #4C40DB
split-complementary
#DB4082 #40DB4C #40CFDB
monochromatic
#871948 #BB2364 #DB4082 #E573A4 #EEA7C5

Accessibility & contrast

On white

4.14
#DB4082 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#DB4082 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB4082
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB4082#FFFFFF#000000##000000
##DB40821.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#606A84
Deuteranopia (green-blind)
#8A877E
Tritanopia (blue-blind)
#ED2C5C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #db4082;
/* rgb */ color: rgb(219, 64, 130);
/* oklch */ color: oklch(61.4% 0.198 358.8);
Tailwind
colors: {
  custom: {
    50: '#eb80a6',
    500: '#db4082',
    950: '#000000',
  },
}
SCSS
$custom: #db4082;
$custom-light: #eb80a6;
$custom-dark: #000000;
JSON
{
  "hex": "#db4082",
  "rgb": {
    "r": 219,
    "g": 64,
    "b": 130
  },
  "hsl": {
    "h": 334.452,
    "s": 68.282,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61408,
    "c": 0.19812,
    "h": 358.8
  },
  "luminance": 0.20339
}

Semantic roles & 50–950 ramp

primary
#DB4082
secondary
#9BDCC0
accent
#EBA13D
background
#FFF8FA
surface
#FEEFF4
border
#D6CACE
text
#170B0F
muted
#857C7F

Preview Lab

Preview with #DB4082

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

Preview Lab → · Contrast checker → · Palette generator →

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