#DB5271#DB5271

#DB5271 is a light, vivid red. Relative luminance 0.223; OKLCH L 62.8% C 0.172 H 9.8°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#DB5271
RGBrgb(219, 82, 113)
HSLhsl(346, 66%, 59%)
HSVhsv(346, 63%, 86%)
CMYKcmyk(0%, 62.6%, 48.4%, 14.1%)
CIE-LABlab(54.33, 55.94, 11.36)
CIE-LCHlch(54.33, 57.09, 11.48°)
OKLaboklab(62.83% 0.1698 0.0293)
OKLCHoklch(62.83% 0.172 9.8)
XYZxyz(35.2141, 22.2913, 18.0678)
Luminance0.2229 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB5271 #52DBBC
analogous
#DB52B6 #DB5271 #DB7852
triadic
#DB5271 #71DB52 #5271DB
tetradic
#DB5271 #B6DB52 #52DBBC #7852DB
square
#DB5271 #B6DB52 #52DBBC #7852DB
split-complementary
#DB5271 #52DB78 #52B6DB
monochromatic
#941F39 #C6294D #DB5271 #E6859B #F0B7C4

Accessibility & contrast

On white

3.85
#DB5271 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#DB5271 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB5271
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB5271#FFFFFF#000000##000000
##DB52711.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#707172
Deuteranopia (green-blind)
#948C6E
Tritanopia (blue-blind)
#EE3D5E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #db5271;
/* rgb */ color: rgb(219, 82, 113);
/* oklch */ color: oklch(62.8% 0.172 9.8);
Tailwind
colors: {
  custom: {
    50: '#eb8999',
    500: '#db5271',
    950: '#000000',
  },
}
SCSS
$custom: #db5271;
$custom-light: #eb8999;
$custom-dark: #000000;
JSON
{
  "hex": "#db5271",
  "rgb": {
    "r": 219,
    "g": 82,
    "b": 113
  },
  "hsl": {
    "h": 346.423,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.62826,
    "c": 0.17229,
    "h": 9.8
  },
  "luminance": 0.22287
}

Semantic roles & 50–950 ramp

primary
#DB5271
secondary
#AADFD3
accent
#E9C23F
background
#FFF8F9
surface
#FEF0F2
border
#D6CBCC
text
#170C0D
muted
#857D7E

Preview Lab

Preview with #DB5271

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

Preview Lab → · Contrast checker → · Palette generator →

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