#DB315B#DB315B

#DB315B is a mid, highly saturated red. Relative luminance 0.180; OKLCH L 59.1% C 0.205 H 12.5°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#DB315B
RGBrgb(219, 49, 91)
HSLhsl(345, 70%, 53%)
HSVhsv(345, 78%, 86%)
CMYKcmyk(0%, 77.6%, 58.4%, 14.1%)
CIE-LABlab(49.52, 66.17, 17.94)
CIE-LCHlch(49.52, 68.56, 15.17°)
OKLaboklab(59.09% 0.1997 0.0444)
OKLCHoklch(59.09% 0.205 12.5)
XYZxyz(32.2033, 18.0168, 11.6774)
Luminance0.1801 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB315B #31DBB1
analogous
#DB31B0 #DB315B #DB5C31
triadic
#DB315B #5BDB31 #315BDB
tetradic
#DB315B #B0DB31 #31DBB1 #5C31DB
square
#DB315B #B0DB31 #31DBB1 #5C31DB
split-complementary
#DB315B #31DB5C #31B0DB
monochromatic
#7C162F #B01F43 #DB315B #E46584 #ED99AE

Accessibility & contrast

On white

4.56
#DB315B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#DB315B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB315B
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB315B#FFFFFF#000000##000000
##DB315B1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#615F5C
Deuteranopia (green-blind)
#8C8257
Tritanopia (blue-blind)
#F00043
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #db315b;
/* rgb */ color: rgb(219, 49, 91);
/* oklch */ color: oklch(59.1% 0.205 12.5);
Tailwind
colors: {
  custom: {
    50: '#ee7989',
    500: '#db315b',
    950: '#000000',
  },
}
SCSS
$custom: #db315b;
$custom-light: #ee7989;
$custom-dark: #000000;
JSON
{
  "hex": "#db315b",
  "rgb": {
    "r": 219,
    "g": 49,
    "b": 91
  },
  "hsl": {
    "h": 345.176,
    "s": 70.248,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59088,
    "c": 0.20453,
    "h": 12.5
  },
  "luminance": 0.18012
}

Semantic roles & 50–950 ramp

primary
#DB315B
secondary
#8FD9C7
accent
#EDC13B
background
#FFF7F8
surface
#FFEEEF
border
#D7C9CA
text
#180A0B
muted
#867C7C

Preview Lab

Preview with #DB315B

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

Preview Lab → · Contrast checker → · Palette generator →

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