#DB3040#DB3040

#DB3040 is a mid, highly saturated red. Relative luminance 0.175; OKLCH L 58.5% C 0.205 H 21.9°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#DB3040
RGBrgb(219, 48, 64)
HSLhsl(354, 70%, 52%)
HSVhsv(354, 78%, 86%)
CMYKcmyk(0%, 78.1%, 70.8%, 14.1%)
CIE-LABlab(48.94, 64.98, 33.43)
CIE-LCHlch(48.94, 73.07, 27.23°)
OKLaboklab(58.51% 0.1904 0.0767)
OKLCHoklch(58.51% 0.205 21.9)
XYZxyz(31.1994, 17.5490, 6.5940)
Luminance0.1754 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB3040 #30DBCB
analogous
#DB3095 #DB3040 #DB7630
triadic
#DB3040 #40DB30 #3040DB
tetradic
#DB3040 #95DB30 #30DBCB #7630DB
square
#DB3040 #95DB30 #30DBCB #7630DB
split-complementary
#DB3040 #30DB76 #3095DB
monochromatic
#7B151F #AF1E2C #DB3040 #E46470 #ED98A0

Accessibility & contrast

On white

4.66
#DB3040 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#DB3040 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #DB3040
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB3040#FFFFFF#000000##FFFFFF
##DB30401.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645D3F
Deuteranopia (green-blind)
#8F813A
Tritanopia (blue-blind)
#F10038
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #db3040;
/* rgb */ color: rgb(219, 48, 64);
/* oklch */ color: oklch(58.5% 0.205 21.9);
Tailwind
colors: {
  custom: {
    50: '#ef7875',
    500: '#db3040',
    950: '#000000',
  },
}
SCSS
$custom: #db3040;
$custom-light: #ef7875;
$custom-dark: #000000;
JSON
{
  "hex": "#db3040",
  "rgb": {
    "r": 219,
    "g": 48,
    "b": 64
  },
  "hsl": {
    "h": 354.386,
    "s": 70.37,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58512,
    "c": 0.2053,
    "h": 21.9
  },
  "luminance": 0.17544
}

Semantic roles & 50–950 ramp

primary
#DB3040
secondary
#8ED9D2
accent
#EDDC3B
background
#FFF7F7
surface
#FFEEED
border
#D7C9C8
text
#180A08
muted
#867C7B

Preview Lab

Preview with #DB3040

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

Preview Lab → · Contrast checker → · Palette generator →

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