#D7818E#D7818E

#D7818E is a light, moderate red. Relative luminance 0.321; OKLCH L 69.8% C 0.107 H 10.5°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#D7818E
RGBrgb(215, 129, 142)
HSLhsl(351, 52%, 67%)
HSVhsv(351, 40%, 84%)
CMYKcmyk(0%, 40%, 34%, 15.7%)
CIE-LABlab(63.43, 34.68, 7.33)
CIE-LCHlch(63.43, 35.45, 11.94°)
OKLaboklab(69.81% 0.1052 0.0194)
OKLCHoklch(69.81% 0.107 10.5)
XYZxyz(40.7587, 32.1038, 29.6359)
Luminance0.3210 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7818E #81D7CA
analogous
#D781B9 #D7818E #D79F81
triadic
#D7818E #8ED781 #818ED7
tetradic
#D7818E #B9D781 #81D7CA #9F81D7
square
#D7818E #B9D781 #81D7CA #9F81D7
split-complementary
#D7818E #81D79F #81B9D7
monochromatic
#A83547 #C85364 #D7818E #E6AFB8 #F4DEE1

Accessibility & contrast

On white

2.83
#D7818E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#D7818E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7818E
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7818E#FFFFFF#000000##000000
##D7818E1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#90908E
Deuteranopia (green-blind)
#A5A08C
Tritanopia (blue-blind)
#E67986
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d7818e;
/* rgb */ color: rgb(215, 129, 142);
/* oklch */ color: oklch(69.8% 0.107 10.5);
Tailwind
colors: {
  custom: {
    50: '#e6a7af',
    500: '#d7818e',
    950: '#000000',
  },
}
SCSS
$custom: #d7818e;
$custom-light: #e6a7af;
$custom-dark: #000000;
JSON
{
  "hex": "#d7818e",
  "rgb": {
    "r": 215,
    "g": 129,
    "b": 142
  },
  "hsl": {
    "h": 350.93,
    "s": 51.807,
    "l": 67.451
  },
  "oklch": {
    "l": 0.69809,
    "c": 0.10695,
    "h": 10.5
  },
  "luminance": 0.32101
}

Semantic roles & 50–950 ramp

primary
#D7818E
secondary
#CCE7E3
accent
#BFA826
background
#FEFAFA
surface
#FDF4F4
border
#D5CECE
text
#160F10
muted
#847F7F

Preview Lab

Preview with #D7818E

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

Preview Lab → · Contrast checker → · Palette generator →

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