#DB4A7F#DB4A7F

#DB4A7F is a light, vivid pink. Relative luminance 0.215; OKLCH L 62.3% C 0.185 H 1.7°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#DB4A7F
RGBrgb(219, 74, 127)
HSLhsl(338, 67%, 57%)
HSVhsv(338, 66%, 86%)
CMYKcmyk(0%, 66.2%, 42%, 14.1%)
CIE-LABlab(53.49, 60.56, 1.82)
CIE-LCHlch(53.49, 60.58, 1.72°)
OKLaboklab(62.31% 0.1852 0.0054)
OKLCHoklch(62.31% 0.185 1.7)
XYZxyz(35.4955, 21.4942, 22.3541)
Luminance0.2149 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB4A7F #4ADBA6
analogous
#DB4AC7 #DB4A7F #DB5E4A
triadic
#DB4A7F #7FDB4A #4A7FDB
tetradic
#DB4A7F #C7DB4A #4ADBA6 #5E4ADB
square
#DB4A7F #C7DB4A #4ADBA6 #5E4ADB
split-complementary
#DB4A7F #4ADB5E #4AC7DB
monochromatic
#8E1C46 #C1265F #DB4A7F #E57DA3 #EFB0C7

Accessibility & contrast

On white

3.96
#DB4A7F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#DB4A7F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB4A7F
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB4A7F#FFFFFF#000000##000000
##DB4A7F1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#676E80
Deuteranopia (green-blind)
#8E8A7C
Tritanopia (blue-blind)
#ED385F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #db4a7f;
/* rgb */ color: rgb(219, 74, 127);
/* oklch */ color: oklch(62.3% 0.185 1.7);
Tailwind
colors: {
  custom: {
    50: '#eb85a3',
    500: '#db4a7f',
    950: '#000000',
  },
}
SCSS
$custom: #db4a7f;
$custom-light: #eb85a3;
$custom-dark: #000000;
JSON
{
  "hex": "#db4a7f",
  "rgb": {
    "r": 219,
    "g": 74,
    "b": 127
  },
  "hsl": {
    "h": 338.069,
    "s": 66.82,
    "l": 57.451
  },
  "oklch": {
    "l": 0.62313,
    "c": 0.18531,
    "h": 1.7
  },
  "luminance": 0.2149
}

Semantic roles & 50–950 ramp

primary
#DB4A7F
secondary
#A3DEC8
accent
#EAAB3E
background
#FFF8FA
surface
#FEF0F3
border
#D6CBCD
text
#170C0F
muted
#857D7F

Preview Lab

Preview with #DB4A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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