#DB5262#DB5262

#DB5262 is a light, vivid red. Relative luminance 0.220; OKLCH L 62.5% C 0.171 H 16.7°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#DB5262
RGBrgb(219, 82, 98)
HSLhsl(353, 66%, 59%)
HSVhsv(353, 63%, 86%)
CMYKcmyk(0%, 62.6%, 55.3%, 14.1%)
CIE-LABlab(54.01, 54.70, 19.80)
CIE-LCHlch(54.01, 58.17, 19.90°)
OKLaboklab(62.47% 0.1641 0.0492)
OKLCHoklch(62.47% 0.171 16.7)
XYZxyz(34.4383, 21.9810, 13.9822)
Luminance0.2198 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB5262 #52DBCB
analogous
#DB52A7 #DB5262 #DB8752
triadic
#DB5262 #62DB52 #5262DB
tetradic
#DB5262 #A7DB52 #52DBCB #8752DB
square
#DB5262 #A7DB52 #52DBCB #8752DB
split-complementary
#DB5262 #52DB87 #52A7DB
monochromatic
#941F2C #C6293C #DB5262 #E68590 #F0B7BE

Accessibility & contrast

On white

3.89
#DB5262 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#DB5262 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB5262
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB5262#FFFFFF#000000##000000
##DB52621.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#736F62
Deuteranopia (green-blind)
#968C5F
Tritanopia (blue-blind)
#EF3959
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #db5262;
/* rgb */ color: rgb(219, 82, 98);
/* oklch */ color: oklch(62.5% 0.171 16.7);
Tailwind
colors: {
  custom: {
    50: '#ec898e',
    500: '#db5262',
    950: '#000000',
  },
}
SCSS
$custom: #db5262;
$custom-light: #ec898e;
$custom-dark: #000000;
JSON
{
  "hex": "#db5262",
  "rgb": {
    "r": 219,
    "g": 82,
    "b": 98
  },
  "hsl": {
    "h": 352.993,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.62474,
    "c": 0.17126,
    "h": 16.7
  },
  "luminance": 0.21976
}

Semantic roles & 50–950 ramp

primary
#DB5262
secondary
#AADFD9
accent
#E9D53F
background
#FFF8F8
surface
#FFF0F0
border
#D7CBCB
text
#170C0C
muted
#857D7D

Preview Lab

Preview with #DB5262

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

Preview Lab → · Contrast checker → · Palette generator →

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