#DF5F7E#DF5F7E

#DF5F7E is a light, vivid red. Relative luminance 0.254; OKLCH L 65.4% C 0.162 H 7.7°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#DF5F7E
RGBrgb(223, 95, 126)
HSLhsl(345, 67%, 62%)
HSVhsv(345, 57%, 87%)
CMYKcmyk(0%, 57.4%, 43.5%, 12.5%)
CIE-LABlab(57.45, 52.70, 8.19)
CIE-LCHlch(57.45, 53.33, 8.83°)
OKLaboklab(65.38% 0.1602 0.0215)
OKLCHoklch(65.38% 0.162 7.7)
XYZxyz(38.2921, 25.3831, 22.6175)
Luminance0.2538 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF5F7E #5FDFC0
analogous
#DF5FBE #DF5F7E #DF805F
triadic
#DF5F7E #7EDF5F #5F7EDF
tetradic
#DF5F7E #BEDF5F #5FDFC0 #805FDF
square
#DF5F7E #BEDF5F #5FDFC0 #805FDF
split-complementary
#DF5F7E #5FDF80 #5FBEDF
monochromatic
#A32140 #D52C55 #DF5F7E #E992A7 #F3C5D0

Accessibility & contrast

On white

3.46
#DF5F7E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#DF5F7E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF5F7E
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF5F7E#FFFFFF#000000##000000
##DF5F7E1.003.466.086.08
#FFFFFF3.461.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#797A7F
Deuteranopia (green-blind)
#9A937B
Tritanopia (blue-blind)
#F1506B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #df5f7e;
/* rgb */ color: rgb(223, 95, 126);
/* oklch */ color: oklch(65.4% 0.162 7.7);
Tailwind
colors: {
  custom: {
    50: '#ed91a3',
    500: '#df5f7e',
    950: '#000000',
  },
}
SCSS
$custom: #df5f7e;
$custom-light: #ed91a3;
$custom-dark: #000000;
JSON
{
  "hex": "#df5f7e",
  "rgb": {
    "r": 223,
    "g": 95,
    "b": 126
  },
  "hsl": {
    "h": 345.469,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.6538,
    "c": 0.16167,
    "h": 7.7
  },
  "luminance": 0.25379
}

Semantic roles & 50–950 ramp

primary
#DF5F7E
secondary
#B6E4D9
accent
#CFA217
background
#FFF9FA
surface
#FEF1F3
border
#D6CBCD
text
#170D0F
muted
#857E7F

Preview Lab

Preview with #DF5F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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