#DB5F7E#DB5F7E

#DB5F7E is a light, vivid red. Relative luminance 0.248; OKLCH L 64.8% C 0.157 H 7.0°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#DB5F7E
RGBrgb(219, 95, 126)
HSLhsl(345, 63%, 62%)
HSVhsv(345, 57%, 86%)
CMYKcmyk(0%, 56.6%, 42.5%, 14.1%)
CIE-LABlab(56.84, 51.38, 7.23)
CIE-LCHlch(56.84, 51.88, 8.01°)
OKLaboklab(64.8% 0.1563 0.0191)
OKLCHoklch(64.8% 0.157 7)
XYZxyz(37.0739, 24.7549, 22.5604)
Luminance0.2475 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB5F7E #5FDBBC
analogous
#DB5FBC #DB5F7E #DB7E5F
triadic
#DB5F7E #7EDB5F #5F7EDB
tetradic
#DB5F7E #BCDB5F #5FDBBC #7E5FDB
square
#DB5F7E #BCDB5F #5FDBBC #7E5FDB
split-complementary
#DB5F7E #5FDB7E #5FBCDB
monochromatic
#9C2341 #CE2E56 #DB5F7E #E691A6 #F1C3CF

Accessibility & contrast

On white

3.53
#DB5F7E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#DB5F7E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB5F7E
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB5F7E#FFFFFF#000000##000000
##DB5F7E1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#77797F
Deuteranopia (green-blind)
#97917B
Tritanopia (blue-blind)
#ED516B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #db5f7e;
/* rgb */ color: rgb(219, 95, 126);
/* oklch */ color: oklch(64.8% 0.157 7.0);
Tailwind
colors: {
  custom: {
    50: '#ea91a3',
    500: '#db5f7e',
    950: '#000000',
  },
}
SCSS
$custom: #db5f7e;
$custom-light: #ea91a3;
$custom-dark: #000000;
JSON
{
  "hex": "#db5f7e",
  "rgb": {
    "r": 219,
    "g": 95,
    "b": 126
  },
  "hsl": {
    "h": 345,
    "s": 63.265,
    "l": 61.569
  },
  "oklch": {
    "l": 0.64802,
    "c": 0.15742,
    "h": 7
  },
  "luminance": 0.24751
}

Semantic roles & 50–950 ramp

primary
#DB5F7E
secondary
#B4E2D6
accent
#CB9F1A
background
#FEF9FA
surface
#FDF1F3
border
#D5CBCD
text
#170D0F
muted
#857E7F

Preview Lab

Preview with #DB5F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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