#D2798A#D2798A

#D2798A is a light, moderate red. Relative luminance 0.292; OKLCH L 67.8% C 0.112 H 8.2°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#D2798A
RGBrgb(210, 121, 138)
HSLhsl(349, 50%, 65%)
HSVhsv(349, 42%, 82%)
CMYKcmyk(0%, 42.4%, 34.3%, 17.6%)
CIE-LABlab(60.97, 36.59, 6.02)
CIE-LCHlch(60.97, 37.08, 9.34°)
OKLaboklab(67.77% 0.111 0.016)
OKLCHoklch(67.77% 0.112 8.2)
XYZxyz(38.0047, 29.2145, 27.6772)
Luminance0.2921 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2798A #79D2C1
analogous
#D279B7 #D2798A #D29479
triadic
#D2798A #8AD279 #798AD2
tetradic
#D2798A #B7D279 #79D2C1 #9479D2
square
#D2798A #B7D279 #79D2C1 #9479D2
split-complementary
#D2798A #79D294 #79B7D2
monochromatic
#9C3448 #C34B62 #D2798A #E1A7B2 #F1D5DA

Accessibility & contrast

On white

3.07
#D2798A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#D2798A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D2798A
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2798A#FFFFFF#000000##000000
##D2798A1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#88898A
Deuteranopia (green-blind)
#9E9A88
Tritanopia (blue-blind)
#E0717F
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d2798a;
/* rgb */ color: rgb(210, 121, 138);
/* oklch */ color: oklch(67.8% 0.112 8.2);
Tailwind
colors: {
  custom: {
    50: '#e2a1ac',
    500: '#d2798a',
    950: '#000000',
  },
}
SCSS
$custom: #d2798a;
$custom-light: #e2a1ac;
$custom-dark: #000000;
JSON
{
  "hex": "#d2798a",
  "rgb": {
    "r": 210,
    "g": 121,
    "b": 138
  },
  "hsl": {
    "h": 348.539,
    "s": 49.721,
    "l": 64.902
  },
  "oklch": {
    "l": 0.67769,
    "c": 0.11212,
    "h": 8.2
  },
  "luminance": 0.29211
}

Semantic roles & 50–950 ramp

primary
#D2798A
secondary
#C4E3DD
accent
#BDA128
background
#FEFAFA
surface
#FCF3F4
border
#D5CDCE
text
#160F10
muted
#847F7F

Preview Lab

Preview with #D2798A

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

Preview Lab → · Contrast checker → · Palette generator →

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