#DB2EAF#DB2EAF

#DB2EAF is a mid, highly saturated pink. Relative luminance 0.201; OKLCH L 61.8% C 0.238 H 340.9°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#DB2EAF
RGBrgb(219, 46, 175)
HSLhsl(315, 71%, 52%)
HSVhsv(315, 79%, 86%)
CMYKcmyk(0%, 79%, 20.1%, 14.1%)
CIE-LABlab(51.97, 75.16, -28.91)
CIE-LCHlch(51.97, 80.53, 338.96°)
OKLaboklab(61.77% 0.2254 -0.078)
OKLCHoklch(61.77% 0.238 340.9)
XYZxyz(37.9295, 20.1132, 42.4338)
Luminance0.2011 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB2EAF #2EDB5A
analogous
#B02EDB #DB2EAF #DB2E59
triadic
#DB2EAF #AFDB2E #2EAFDB
tetradic
#DB2EAF #DBB02E #2EDB5A #2E59DB
square
#DB2EAF #DBB02E #2EDB5A #2E59DB
split-complementary
#DB2EAF #59DB2E #2EDBB0
monochromatic
#7A1560 #AE1E89 #DB2EAF #E462C3 #ED96D7

Accessibility & contrast

On white

4.18
#DB2EAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##DB2EAF#FFFFFF#000000##000000
##DB2EAF1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E6AB2
Deuteranopia (green-blind)
#7786AB
Tritanopia (blue-blind)
#E8336D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #db2eaf;
/* rgb */ color: rgb(219, 46, 175);
/* oklch */ color: oklch(61.8% 0.238 340.9);
Tailwind
colors: {
  custom: {
    50: '#eb7bc7',
    500: '#db2eaf',
    950: '#000000',
  },
}
SCSS
$custom: #db2eaf;
$custom-light: #eb7bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#db2eaf",
  "rgb": {
    "r": 219,
    "g": 46,
    "b": 175
  },
  "hsl": {
    "h": 315.26,
    "s": 70.612,
    "l": 51.961
  },
  "oklch": {
    "l": 0.61765,
    "c": 0.23847,
    "h": 340.9
  },
  "luminance": 0.20109
}

Semantic roles & 50–950 ramp

primary
#DB2EAF
secondary
#8DD8A0
accent
#ED683A
background
#FFF8FC
surface
#FEEFF8
border
#D6CAD1
text
#170B13
muted
#857C82

Preview Lab

Preview with #DB2EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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