#DB51AF#DB51AF

#DB51AF is a light, vivid pink. Relative luminance 0.240; OKLCH L 64.8% C 0.199 H 342.4°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#DB51AF
RGBrgb(219, 81, 175)
HSLhsl(319, 66%, 59%)
HSVhsv(319, 63%, 86%)
CMYKcmyk(0%, 63%, 20.1%, 14.1%)
CIE-LABlab(56.13, 63.45, -22.47)
CIE-LCHlch(56.13, 67.31, 340.50°)
OKLaboklab(64.8% 0.1897 -0.0601)
OKLCHoklch(64.8% 0.199 342.4)
XYZxyz(39.8948, 24.0438, 43.0889)
Luminance0.2404 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB51AF #51DB7D
analogous
#C251DB #DB51AF #DB516A
triadic
#DB51AF #AFDB51 #51AFDB
tetradic
#DB51AF #DBC251 #51DB7D #516ADB
square
#DB51AF #DBC251 #51DB7D #516ADB
split-complementary
#DB51AF #6ADB51 #51DBC2
monochromatic
#931E6E #C62994 #DB51AF #E584C6 #F0B6DE

Accessibility & contrast

On white

3.62
#DB51AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#DB51AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB51AF
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB51AF#FFFFFF#000000##000000
##DB51AF1.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C78B2
Deuteranopia (green-blind)
#858FAC
Tritanopia (blue-blind)
#E85279
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #db51af;
/* rgb */ color: rgb(219, 81, 175);
/* oklch */ color: oklch(64.8% 0.199 342.4);
Tailwind
colors: {
  custom: {
    50: '#ea8ac7',
    500: '#db51af',
    950: '#000000',
  },
}
SCSS
$custom: #db51af;
$custom-light: #ea8ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#db51af",
  "rgb": {
    "r": 219,
    "g": 81,
    "b": 175
  },
  "hsl": {
    "h": 319.13,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.64796,
    "c": 0.19902,
    "h": 342.4
  },
  "luminance": 0.2404
}

Semantic roles & 50–950 ramp

primary
#DB51AF
secondary
#A9DFBA
accent
#E9753F
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C13
muted
#857D82

Preview Lab

Preview with #DB51AF

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

Preview Lab → · Contrast checker → · Palette generator →

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