#DB5274#DB5274

#DB5274 is a light, vivid red. Relative luminance 0.224; OKLCH L 62.9% C 0.173 H 8.4°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#DB5274
RGBrgb(219, 82, 116)
HSLhsl(345, 66%, 59%)
HSVhsv(345, 63%, 86%)
CMYKcmyk(0%, 62.6%, 47%, 14.1%)
CIE-LABlab(54.41, 56.22, 9.68)
CIE-LCHlch(54.41, 57.04, 9.77°)
OKLaboklab(62.9% 0.1709 0.0252)
OKLCHoklch(62.9% 0.173 8.4)
XYZxyz(35.3858, 22.3599, 18.9721)
Luminance0.2236 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB5274 #52DBB9
analogous
#DB52B9 #DB5274 #DB7552
triadic
#DB5274 #74DB52 #5274DB
tetradic
#DB5274 #B9DB52 #52DBB9 #7552DB
square
#DB5274 #B9DB52 #52DBB9 #7552DB
split-complementary
#DB5274 #52DB75 #52B9DB
monochromatic
#941F3C #C62950 #DB5274 #E6859D #F0B7C5

Accessibility & contrast

On white

3.84
#DB5274 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#DB5274 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB5274
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB5274#FFFFFF#000000##000000
##DB52741.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#707175
Deuteranopia (green-blind)
#938C71
Tritanopia (blue-blind)
#EE3E5F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #db5274;
/* rgb */ color: rgb(219, 82, 116);
/* oklch */ color: oklch(62.9% 0.173 8.4);
Tailwind
colors: {
  custom: {
    50: '#eb899b',
    500: '#db5274',
    950: '#000000',
  },
}
SCSS
$custom: #db5274;
$custom-light: #eb899b;
$custom-dark: #000000;
JSON
{
  "hex": "#db5274",
  "rgb": {
    "r": 219,
    "g": 82,
    "b": 116
  },
  "hsl": {
    "h": 345.109,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.62904,
    "c": 0.17274,
    "h": 8.4
  },
  "luminance": 0.22356
}

Semantic roles & 50–950 ramp

primary
#DB5274
secondary
#AADFD2
accent
#E9BF3F
background
#FFF8F9
surface
#FEF0F2
border
#D6CBCC
text
#170C0E
muted
#857D7E

Preview Lab

Preview with #DB5274

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

Preview Lab → · Contrast checker → · Palette generator →

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