#DB48B2#DB48B2

#DB48B2 is a light, highly saturated pink. Relative luminance 0.229; OKLCH L 64.0% C 0.213 H 340.8°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#DB48B2
RGBrgb(219, 72, 178)
HSLhsl(317, 67%, 57%)
HSVhsv(317, 67%, 86%)
CMYKcmyk(0%, 67.1%, 18.7%, 14.1%)
CIE-LABlab(54.98, 67.38, -25.98)
CIE-LCHlch(54.98, 72.22, 338.91°)
OKLaboklab(64% 0.201 -0.0699)
OKLCHoklch(64% 0.213 340.8)
XYZxyz(39.5677, 22.9129, 44.4496)
Luminance0.2291 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB48B2 #48DB71
analogous
#BB48DB #DB48B2 #DB4869
triadic
#DB48B2 #B2DB48 #48B2DB
tetradic
#DB48B2 #DBBB48 #48DB71 #4869DB
square
#DB48B2 #DBBB48 #48DB71 #4869DB
split-complementary
#DB48B2 #69DB48 #48DBBB
monochromatic
#8D1C6D #C02695 #DB48B2 #E57BC8 #EFAEDD

Accessibility & contrast

On white

3.76
#DB48B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#DB48B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB48B2
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB48B2#FFFFFF#000000##000000
##DB48B21.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5274B5
Deuteranopia (green-blind)
#808CAE
Tritanopia (blue-blind)
#E84B77
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #db48b2;
/* rgb */ color: rgb(219, 72, 178);
/* oklch */ color: oklch(64.0% 0.213 340.8);
Tailwind
colors: {
  custom: {
    50: '#ea86c9',
    500: '#db48b2',
    950: '#000000',
  },
}
SCSS
$custom: #db48b2;
$custom-light: #ea86c9;
$custom-dark: #000000;
JSON
{
  "hex": "#db48b2",
  "rgb": {
    "r": 219,
    "g": 72,
    "b": 178
  },
  "hsl": {
    "h": 316.735,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.63995,
    "c": 0.21275,
    "h": 340.8
  },
  "luminance": 0.22909
}

Semantic roles & 50–950 ramp

primary
#DB48B2
secondary
#A2DDB2
accent
#EA6E3E
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C13
muted
#857D82

Preview Lab

Preview with #DB48B2

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

Preview Lab → · Contrast checker → · Palette generator →

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