#DB40B3#DB40B3

#DB40B3 is a light, highly saturated pink. Relative luminance 0.220; OKLCH L 63.3% C 0.223 H 340.1°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#DB40B3
RGBrgb(219, 64, 179)
HSLhsl(315, 68%, 55%)
HSVhsv(315, 71%, 86%)
CMYKcmyk(0%, 70.8%, 18.3%, 14.1%)
CIE-LABlab(54.01, 70.36, -28.07)
CIE-LCHlch(54.01, 75.75, 338.25°)
OKLaboklab(63.3% 0.2097 -0.0757)
OKLCHoklch(63.3% 0.223 340.1)
XYZxyz(39.1846, 21.9853, 44.8190)
Luminance0.2198 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB40B3 #40DB68
analogous
#B640DB #DB40B3 #DB4065
triadic
#DB40B3 #B3DB40 #40B3DB
tetradic
#DB40B3 #DBB640 #40DB68 #4065DB
square
#DB40B3 #DBB640 #40DB68 #4065DB
split-complementary
#DB40B3 #65DB40 #40DBB6
monochromatic
#87196B #BB2394 #DB40B3 #E573C7 #EEA7DC

Accessibility & contrast

On white

3.89
#DB40B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#DB40B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB40B3
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB40B3#FFFFFF#000000##000000
##DB40B31.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B71B6
Deuteranopia (green-blind)
#7C8AAF
Tritanopia (blue-blind)
#E84574
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #db40b3;
/* rgb */ color: rgb(219, 64, 179);
/* oklch */ color: oklch(63.3% 0.223 340.1);
Tailwind
colors: {
  custom: {
    50: '#ea82ca',
    500: '#db40b3',
    950: '#000000',
  },
}
SCSS
$custom: #db40b3;
$custom-light: #ea82ca;
$custom-dark: #000000;
JSON
{
  "hex": "#db40b3",
  "rgb": {
    "r": 219,
    "g": 64,
    "b": 179
  },
  "hsl": {
    "h": 315.484,
    "s": 68.282,
    "l": 55.49
  },
  "oklch": {
    "l": 0.63302,
    "c": 0.22296,
    "h": 340.1
  },
  "luminance": 0.21982
}

Semantic roles & 50–950 ramp

primary
#DB40B3
secondary
#9BDCAC
accent
#EB6A3D
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C13
muted
#857D82

Preview Lab

Preview with #DB40B3

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

Preview Lab → · Contrast checker → · Palette generator →

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