#DB2DAF#DB2DAF

#DB2DAF is a mid, highly saturated pink. Relative luminance 0.200; OKLCH L 61.7% C 0.239 H 340.9°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#DB2DAF
RGBrgb(219, 45, 175)
HSLhsl(315, 71%, 52%)
HSVhsv(315, 79%, 86%)
CMYKcmyk(0%, 79.5%, 20.1%, 14.1%)
CIE-LABlab(51.88, 75.41, -29.04)
CIE-LCHlch(51.88, 80.81, 338.94°)
OKLaboklab(61.7% 0.2261 -0.0783)
OKLCHoklch(61.7% 0.239 340.9)
XYZxyz(37.8909, 20.0360, 42.4210)
Luminance0.2003 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB2DAF #2DDB59
analogous
#B02DDB #DB2DAF #DB2D58
triadic
#DB2DAF #AFDB2D #2DAFDB
tetradic
#DB2DAF #DBB02D #2DDB59 #2D58DB
square
#DB2DAF #DBB02D #2DDB59 #2D58DB
split-complementary
#DB2DAF #58DB2D #2DDBB0
monochromatic
#791560 #AD1E89 #DB2DAF #E461C3 #ED95D7

Accessibility & contrast

On white

4.19
#DB2DAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#DB2DAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB2DAF
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB2DAF#FFFFFF#000000##000000
##DB2DAF1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E6AB2
Deuteranopia (green-blind)
#7785AB
Tritanopia (blue-blind)
#E8326D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #db2daf;
/* rgb */ color: rgb(219, 45, 175);
/* oklch */ color: oklch(61.7% 0.239 340.9);
Tailwind
colors: {
  custom: {
    50: '#eb7ac7',
    500: '#db2daf',
    950: '#000000',
  },
}
SCSS
$custom: #db2daf;
$custom-light: #eb7ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#db2daf",
  "rgb": {
    "r": 219,
    "g": 45,
    "b": 175
  },
  "hsl": {
    "h": 315.172,
    "s": 70.732,
    "l": 51.765
  },
  "oklch": {
    "l": 0.61702,
    "c": 0.23932,
    "h": 340.9
  },
  "luminance": 0.20032
}

Semantic roles & 50–950 ramp

primary
#DB2DAF
secondary
#8CD89F
accent
#ED683A
background
#FFF8FC
surface
#FEEFF8
border
#D6CAD1
text
#170B13
muted
#857C82

Preview Lab

Preview with #DB2DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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