#DB24BF#DB24BF

#DB24BF is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 62.0% C 0.256 H 335.9°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#DB24BF
RGBrgb(219, 36, 191)
HSLhsl(309, 72%, 50%)
HSVhsv(309, 84%, 86%)
CMYKcmyk(0%, 83.6%, 12.8%, 14.1%)
CIE-LABlab(51.94, 79.51, -38.28)
CIE-LCHlch(51.94, 88.25, 334.29°)
OKLaboklab(61.99% 0.2335 -0.1047)
OKLCHoklch(61.99% 0.256 335.9)
XYZxyz(39.2490, 20.0872, 51.0903)
Luminance0.2008 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB24BF #24DB40
analogous
#9B24DB #DB24BF #DB2464
triadic
#DB24BF #BFDB24 #24BFDB
tetradic
#DB24BF #DB9B24 #24DB40 #2464DB
square
#DB24BF #DB9B24 #24DB40 #2464DB
split-complementary
#DB24BF #64DB24 #24DB9B
monochromatic
#721363 #A61B91 #DB24BF #E459CE #EC8DDE

Accessibility & contrast

On white

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

On black

5.02
#DB24BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB24BF
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB24BF#FFFFFF#000000##000000
##DB24BF1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#266BC3
Deuteranopia (green-blind)
#6E85BB
Tritanopia (blue-blind)
#E63774
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #db24bf;
/* rgb */ color: rgb(219, 36, 191);
/* oklch */ color: oklch(62.0% 0.256 335.9);
Tailwind
colors: {
  custom: {
    50: '#eb78d3',
    500: '#db24bf',
    950: '#000000',
  },
}
SCSS
$custom: #db24bf;
$custom-light: #eb78d3;
$custom-dark: #000000;
JSON
{
  "hex": "#db24bf",
  "rgb": {
    "r": 219,
    "g": 36,
    "b": 191
  },
  "hsl": {
    "h": 309.18,
    "s": 71.765,
    "l": 50
  },
  "oklch": {
    "l": 0.61988,
    "c": 0.2559,
    "h": 335.9
  },
  "luminance": 0.20083
}

Semantic roles & 50–950 ramp

primary
#DB24BF
secondary
#84D691
accent
#EE5539
background
#FFF8FD
surface
#FEEFFA
border
#D6CAD3
text
#170A14
muted
#857C83

Preview Lab

Preview with #DB24BF

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

Preview Lab → · Contrast checker → · Palette generator →

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