#DB2FB1#DB2FB1

#DB2FB1 is a mid, highly saturated pink. Relative luminance 0.203; OKLCH L 61.9% C 0.239 H 340.3°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#DB2FB1
RGBrgb(219, 47, 177)
HSLhsl(315, 70%, 52%)
HSVhsv(315, 79%, 86%)
CMYKcmyk(0%, 78.5%, 19.2%, 14.1%)
CIE-LABlab(52.14, 75.16, -29.80)
CIE-LCHlch(52.14, 80.86, 338.37°)
OKLaboklab(61.92% 0.2248 -0.0805)
OKLCHoklch(61.92% 0.239 340.3)
XYZxyz(38.1669, 20.2714, 43.4892)
Luminance0.2027 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB2FB1 #2FDB59
analogous
#AF2FDB #DB2FB1 #DB2F5B
triadic
#DB2FB1 #B1DB2F #2FB1DB
tetradic
#DB2FB1 #DBAF2F #2FDB59 #2F5BDB
square
#DB2FB1 #DBAF2F #2FDB59 #2F5BDB
split-complementary
#DB2FB1 #5BDB2F #2FDBAF
monochromatic
#7A1562 #AF1E8B #DB2FB1 #E463C5 #ED97D8

Accessibility & contrast

On white

4.16
#DB2FB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#DB2FB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB2FB1
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB2FB1#FFFFFF#000000##000000
##DB2FB11.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E6BB4
Deuteranopia (green-blind)
#7786AD
Tritanopia (blue-blind)
#E8356E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #db2fb1;
/* rgb */ color: rgb(219, 47, 177);
/* oklch */ color: oklch(61.9% 0.239 340.3);
Tailwind
colors: {
  custom: {
    50: '#eb7bc8',
    500: '#db2fb1',
    950: '#000000',
  },
}
SCSS
$custom: #db2fb1;
$custom-light: #eb7bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#db2fb1",
  "rgb": {
    "r": 219,
    "g": 47,
    "b": 177
  },
  "hsl": {
    "h": 314.651,
    "s": 70.492,
    "l": 52.157
  },
  "oklch": {
    "l": 0.61922,
    "c": 0.23881,
    "h": 340.3
  },
  "luminance": 0.20267
}

Semantic roles & 50–950 ramp

primary
#DB2FB1
secondary
#8DD8A0
accent
#ED663B
background
#FFF8FC
surface
#FEEFF8
border
#D6CAD1
text
#170B13
muted
#857C82

Preview Lab

Preview with #DB2FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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