#DB30B2#DB30B2

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

Color values

HEX#DB30B2
RGBrgb(219, 48, 178)
HSLhsl(314, 70%, 52%)
HSVhsv(314, 78%, 86%)
CMYKcmyk(0%, 78.1%, 18.7%, 14.1%)
CIE-LABlab(52.28, 75.03, -30.18)
CIE-LCHlch(52.28, 80.87, 338.09°)
OKLaboklab(62.03% 0.2242 -0.0816)
OKLCHoklch(62.03% 0.239 340)
XYZxyz(38.3074, 20.3922, 44.0295)
Luminance0.2039 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB30B2 #30DB59
analogous
#AE30DB #DB30B2 #DB305D
triadic
#DB30B2 #B2DB30 #30B2DB
tetradic
#DB30B2 #DBAE30 #30DB59 #305DDB
square
#DB30B2 #DBAE30 #30DB59 #305DDB
split-complementary
#DB30B2 #5DDB30 #30DBAE
monochromatic
#7B1563 #AF1E8D #DB30B2 #E464C5 #ED98D9

Accessibility & contrast

On white

4.14
#DB30B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#DB30B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB30B2
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB30B2#FFFFFF#000000##000000
##DB30B21.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E6CB5
Deuteranopia (green-blind)
#7786AE
Tritanopia (blue-blind)
#E8376F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #db30b2;
/* rgb */ color: rgb(219, 48, 178);
/* oklch */ color: oklch(62.0% 0.239 340.0);
Tailwind
colors: {
  custom: {
    50: '#eb7bc9',
    500: '#db30b2',
    950: '#000000',
  },
}
SCSS
$custom: #db30b2;
$custom-light: #eb7bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#db30b2",
  "rgb": {
    "r": 219,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 314.386,
    "s": 70.37,
    "l": 52.353
  },
  "oklch": {
    "l": 0.62034,
    "c": 0.23854,
    "h": 340
  },
  "luminance": 0.20388
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB30B2

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

Preview Lab → · Contrast checker → · Palette generator →

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