#DB40BF#DB40BF

#DB40BF is a light, highly saturated pink. Relative luminance 0.225; OKLCH L 63.9% C 0.231 H 336.2°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#DB40BF
RGBrgb(219, 64, 191)
HSLhsl(311, 68%, 55%)
HSVhsv(311, 71%, 86%)
CMYKcmyk(0%, 70.8%, 12.8%, 14.1%)
CIE-LABlab(54.55, 72.02, -34.19)
CIE-LCHlch(54.55, 79.73, 334.61°)
OKLaboklab(63.86% 0.2112 -0.0931)
OKLCHoklch(63.86% 0.231 336.2)
XYZxyz(40.4514, 22.4921, 51.4911)
Luminance0.2249 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB40BF #40DB5C
analogous
#AA40DB #DB40BF #DB4071
triadic
#DB40BF #BFDB40 #40BFDB
tetradic
#DB40BF #DBAA40 #40DB5C #4071DB
square
#DB40BF #DBAA40 #40DB5C #4071DB
split-complementary
#DB40BF #71DB40 #40DBAA
monochromatic
#871973 #BB239F #DB40BF #E573D0 #EEA7E2

Accessibility & contrast

On white

3.82
#DB40BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#DB40BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB40BF
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB40BF#FFFFFF#000000##000000
##DB40BF1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4274C3
Deuteranopia (green-blind)
#778BBB
Tritanopia (blue-blind)
#E64A7B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #db40bf;
/* rgb */ color: rgb(219, 64, 191);
/* oklch */ color: oklch(63.9% 0.231 336.2);
Tailwind
colors: {
  custom: {
    50: '#ea82d2',
    500: '#db40bf',
    950: '#000000',
  },
}
SCSS
$custom: #db40bf;
$custom-light: #ea82d2;
$custom-dark: #000000;
JSON
{
  "hex": "#db40bf",
  "rgb": {
    "r": 219,
    "g": 64,
    "b": 191
  },
  "hsl": {
    "h": 310.839,
    "s": 68.282,
    "l": 55.49
  },
  "oklch": {
    "l": 0.63862,
    "c": 0.23084,
    "h": 336.2
  },
  "luminance": 0.22488
}

Semantic roles & 50–950 ramp

primary
#DB40BF
secondary
#9BDCA7
accent
#EB5C3D
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#170C14
muted
#857D82

Preview Lab

Preview with #DB40BF

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

Preview Lab → · Contrast checker → · Palette generator →

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