#DB2E98#DB2E98

#DB2E98 is a mid, highly saturated pink. Relative luminance 0.193; OKLCH L 60.8% C 0.226 H 348.8°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#DB2E98
RGBrgb(219, 46, 152)
HSLhsl(323, 71%, 52%)
HSVhsv(323, 79%, 86%)
CMYKcmyk(0%, 79%, 30.6%, 14.1%)
CIE-LABlab(51.02, 72.42, -16.77)
CIE-LCHlch(51.02, 74.33, 346.96°)
OKLaboklab(60.77% 0.2215 -0.044)
OKLCHoklch(60.77% 0.226 348.8)
XYZxyz(35.8599, 19.2853, 31.5337)
Luminance0.1928 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB2E98 #2EDB71
analogous
#C82EDB #DB2E98 #DB2E42
triadic
#DB2E98 #98DB2E #2E98DB
tetradic
#DB2E98 #DBC82E #2EDB71 #2E42DB
square
#DB2E98 #DBC82E #2EDB71 #2E42DB
split-complementary
#DB2E98 #42DB2E #2EDBC8
monochromatic
#7A1553 #AE1E76 #DB2E98 #E462B2 #ED96CB

Accessibility & contrast

On white

4.32
#DB2E98 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#DB2E98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB2E98
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB2E98#FFFFFF#000000##000000
##DB2E981.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C669B
Deuteranopia (green-blind)
#7F8494
Tritanopia (blue-blind)
#EB2260
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #db2e98;
/* rgb */ color: rgb(219, 46, 152);
/* oklch */ color: oklch(60.8% 0.226 348.8);
Tailwind
colors: {
  custom: {
    50: '#eb7ab6',
    500: '#db2e98',
    950: '#000000',
  },
}
SCSS
$custom: #db2e98;
$custom-light: #eb7ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#db2e98",
  "rgb": {
    "r": 219,
    "g": 46,
    "b": 152
  },
  "hsl": {
    "h": 323.237,
    "s": 70.612,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60772,
    "c": 0.22578,
    "h": 348.8
  },
  "luminance": 0.19281
}

Semantic roles & 50–950 ramp

primary
#DB2E98
secondary
#8DD8AA
accent
#ED803A
background
#FFF8FB
surface
#FEEFF6
border
#D6CAD0
text
#170A11
muted
#857C80

Preview Lab

Preview with #DB2E98

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

Preview Lab → · Contrast checker → · Palette generator →

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