#DB2FB2#DB2FB2

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

Color values

HEX#DB2FB2
RGBrgb(219, 47, 178)
HSLhsl(314, 70%, 52%)
HSVhsv(314, 79%, 86%)
CMYKcmyk(0%, 78.5%, 18.7%, 14.1%)
CIE-LABlab(52.19, 75.29, -30.32)
CIE-LCHlch(52.19, 81.17, 338.07°)
OKLaboklab(61.97% 0.225 -0.082)
OKLCHoklch(61.97% 0.239 340)
XYZxyz(38.2670, 20.3114, 44.0160)
Luminance0.2031 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB2FB2 #2FDB58
analogous
#AE2FDB #DB2FB2 #DB2F5C
triadic
#DB2FB2 #B2DB2F #2FB2DB
tetradic
#DB2FB2 #DBAE2F #2FDB58 #2F5CDB
square
#DB2FB2 #DBAE2F #2FDB58 #2F5CDB
split-complementary
#DB2FB2 #5CDB2F #2FDBAE
monochromatic
#7A1562 #AF1E8C #DB2FB2 #E463C5 #ED97D9

Accessibility & contrast

On white

4.15
#DB2FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#DB2FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB2FB2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB2FB2#FFFFFF#000000##000000
##DB2FB21.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D6BB5
Deuteranopia (green-blind)
#7786AE
Tritanopia (blue-blind)
#E8366F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #db2fb2;
/* rgb */ color: rgb(219, 47, 178);
/* oklch */ color: oklch(62.0% 0.239 340.0);
Tailwind
colors: {
  custom: {
    50: '#eb7bc9',
    500: '#db2fb2',
    950: '#000000',
  },
}
SCSS
$custom: #db2fb2;
$custom-light: #eb7bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#db2fb2",
  "rgb": {
    "r": 219,
    "g": 47,
    "b": 178
  },
  "hsl": {
    "h": 314.302,
    "s": 70.492,
    "l": 52.157
  },
  "oklch": {
    "l": 0.61969,
    "c": 0.23942,
    "h": 340
  },
  "luminance": 0.20307
}

Semantic roles & 50–950 ramp

primary
#DB2FB2
secondary
#8DD89F
accent
#ED653B
background
#FFF8FC
surface
#FEEFF8
border
#D6CAD1
text
#170B13
muted
#857C82

Preview Lab

Preview with #DB2FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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