#DF7F8A#DF7F8A

#DF7F8A is a light, moderate red. Relative luminance 0.327; OKLCH L 70.4% C 0.119 H 13.3°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#DF7F8A
RGBrgb(223, 127, 138)
HSLhsl(353, 60%, 69%)
HSVhsv(353, 43%, 87%)
CMYKcmyk(0%, 43%, 38.1%, 12.5%)
CIE-LABlab(63.92, 38.18, 10.45)
CIE-LCHlch(63.92, 39.59, 15.30°)
OKLaboklab(70.37% 0.1157 0.0273)
OKLCHoklch(70.37% 0.119 13.3)
XYZxyz(42.6103, 32.7054, 28.1085)
Luminance0.3270 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7F8A #7FDFD4
analogous
#DF7FBA #DF7F8A #DFA47F
triadic
#DF7F8A #8ADF7F #7F8ADF
tetradic
#DF7F8A #BADF7F #7FDFD4 #A47FDF
square
#DF7F8A #BADF7F #7FDFD4 #A47FDF
split-complementary
#DF7F8A #7FDFA4 #7FBADF
monochromatic
#B62E3D #D34E5D #DF7F8A #EBB0B7 #F7E1E4

Accessibility & contrast

On white

2.78
#DF7F8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#DF7F8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7F8A
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7F8A#FFFFFF#000000##000000
##DF7F8A1.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#918F8A
Deuteranopia (green-blind)
#A9A288
Tritanopia (blue-blind)
#EF7583
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #df7f8a;
/* rgb */ color: rgb(223, 127, 138);
/* oklch */ color: oklch(70.4% 0.119 13.3);
Tailwind
colors: {
  custom: {
    50: '#eca6ac',
    500: '#df7f8a',
    950: '#000000',
  },
}
SCSS
$custom: #df7f8a;
$custom-light: #eca6ac;
$custom-dark: #000000;
JSON
{
  "hex": "#df7f8a",
  "rgb": {
    "r": 223,
    "g": 127,
    "b": 138
  },
  "hsl": {
    "h": 353.125,
    "s": 60,
    "l": 68.627
  },
  "oklch": {
    "l": 0.70368,
    "c": 0.11886,
    "h": 13.3
  },
  "luminance": 0.32702
}

Semantic roles & 50–950 ramp

primary
#DF7F8A
secondary
#CFEBE8
accent
#C8B41E
background
#FEFAFA
surface
#FDF4F4
border
#D5CECE
text
#170F10
muted
#857F7F

Preview Lab

Preview with #DF7F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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