#DB315F#DB315F

#DB315F is a mid, highly saturated pink. Relative luminance 0.181; OKLCH L 59.2% C 0.205 H 11.0°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#DB315F
RGBrgb(219, 49, 95)
HSLhsl(344, 70%, 53%)
HSVhsv(344, 78%, 86%)
CMYKcmyk(0%, 77.6%, 56.6%, 14.1%)
CIE-LABlab(49.60, 66.44, 15.62)
CIE-LCHlch(49.60, 68.25, 13.23°)
OKLaboklab(59.18% 0.2012 0.0391)
OKLCHoklch(59.18% 0.205 11)
XYZxyz(32.3805, 18.0876, 12.6105)
Luminance0.1808 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB315F #31DBAD
analogous
#DB31B4 #DB315F #DB5831
triadic
#DB315F #5FDB31 #315FDB
tetradic
#DB315F #B4DB31 #31DBAD #5831DB
square
#DB315F #B4DB31 #31DBAD #5831DB
split-complementary
#DB315F #31DB58 #31B4DB
monochromatic
#7C1631 #B01F46 #DB315F #E46587 #ED99B0

Accessibility & contrast

On white

4.55
#DB315F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#DB315F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB315F
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB315F#FFFFFF#000000##000000
##DB315F1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#606060
Deuteranopia (green-blind)
#8C825B
Tritanopia (blue-blind)
#EF0045
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #db315f;
/* rgb */ color: rgb(219, 49, 95);
/* oklch */ color: oklch(59.2% 0.205 11.0);
Tailwind
colors: {
  custom: {
    50: '#ee798c',
    500: '#db315f',
    950: '#000000',
  },
}
SCSS
$custom: #db315f;
$custom-light: #ee798c;
$custom-dark: #000000;
JSON
{
  "hex": "#db315f",
  "rgb": {
    "r": 219,
    "g": 49,
    "b": 95
  },
  "hsl": {
    "h": 343.765,
    "s": 70.248,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59179,
    "c": 0.20492,
    "h": 11
  },
  "luminance": 0.18083
}

Semantic roles & 50–950 ramp

primary
#DB315F
secondary
#8FD9C5
accent
#EDBD3B
background
#FFF7F8
surface
#FFEEF0
border
#D7C9CB
text
#180A0C
muted
#867C7D

Preview Lab

Preview with #DB315F

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

Preview Lab → · Contrast checker → · Palette generator →

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