#DB5270#DB5270

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

Color values

HEX#DB5270
RGBrgb(219, 82, 112)
HSLhsl(347, 66%, 59%)
HSVhsv(347, 63%, 86%)
CMYKcmyk(0%, 62.6%, 48.9%, 14.1%)
CIE-LABlab(54.31, 55.86, 11.92)
CIE-LCHlch(54.31, 57.11, 12.05°)
OKLaboklab(62.8% 0.1694 0.0307)
OKLCHoklch(62.8% 0.172 10.3)
XYZxyz(35.1581, 22.2689, 17.7730)
Luminance0.2226 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB5270 #52DBBD
analogous
#DB52B5 #DB5270 #DB7952
triadic
#DB5270 #70DB52 #5270DB
tetradic
#DB5270 #B5DB52 #52DBBD #7952DB
square
#DB5270 #B5DB52 #52DBBD #7952DB
split-complementary
#DB5270 #52DB79 #52B5DB
monochromatic
#941F38 #C6294C #DB5270 #E6859A #F0B7C4

Accessibility & contrast

On white

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

On black

5.45
#DB5270 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB5270
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB5270#FFFFFF#000000##000000
##DB52701.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #db5270;
/* rgb */ color: rgb(219, 82, 112);
/* oklch */ color: oklch(62.8% 0.172 10.3);
Tailwind
colors: {
  custom: {
    50: '#ec8998',
    500: '#db5270',
    950: '#000000',
  },
}
SCSS
$custom: #db5270;
$custom-light: #ec8998;
$custom-dark: #000000;
JSON
{
  "hex": "#db5270",
  "rgb": {
    "r": 219,
    "g": 82,
    "b": 112
  },
  "hsl": {
    "h": 346.861,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.62801,
    "c": 0.17215,
    "h": 10.3
  },
  "luminance": 0.22265
}

Semantic roles & 50–950 ramp

primary
#DB5270
secondary
#AADFD4
accent
#E9C33F
background
#FFF8F9
surface
#FEF0F2
border
#D6CBCC
text
#170C0D
muted
#857D7E

Preview Lab

Preview with #DB5270

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

Preview Lab → · Contrast checker → · Palette generator →

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