#DC7E97#DC7E97

#DC7E97 is a light, moderate pink. Relative luminance 0.324; OKLCH L 70.2% C 0.119 H 3.5°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#DC7E97
RGBrgb(220, 126, 151)
HSLhsl(344, 57%, 68%)
HSVhsv(344, 43%, 86%)
CMYKcmyk(0%, 42.7%, 31.4%, 13.7%)
CIE-LABlab(63.65, 39.21, 2.61)
CIE-LCHlch(63.65, 39.29, 3.81°)
OKLaboklab(70.19% 0.1188 0.0073)
OKLCHoklch(70.19% 0.119 3.5)
XYZxyz(42.5636, 32.3752, 33.2795)
Luminance0.3237 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7E97 #7EDCC3
analogous
#DC7EC6 #DC7E97 #DC947E
triadic
#DC7E97 #97DC7E #7E97DC
tetradic
#DC7E97 #C6DC7E #7EDCC3 #947EDC
square
#DC7E97 #C6DC7E #7EDCC3 #947EDC
split-complementary
#DC7E97 #7EDC94 #7EC6DC
monochromatic
#B03052 #CF4E70 #DC7E97 #E9AEBE #F6DEE5

Accessibility & contrast

On white

2.81
#DC7E97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#DC7E97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7E97
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7E97#FFFFFF#000000##000000
##DC7E971.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D8F98
Deuteranopia (green-blind)
#A4A195
Tritanopia (blue-blind)
#EB7787
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #dc7e97;
/* rgb */ color: rgb(220, 126, 151);
/* oklch */ color: oklch(70.2% 0.119 3.5);
Tailwind
colors: {
  custom: {
    50: '#e9a5b5',
    500: '#dc7e97',
    950: '#000000',
  },
}
SCSS
$custom: #dc7e97;
$custom-light: #e9a5b5;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7e97",
  "rgb": {
    "r": 220,
    "g": 126,
    "b": 151
  },
  "hsl": {
    "h": 344.043,
    "s": 57.317,
    "l": 67.843
  },
  "oklch": {
    "l": 0.70189,
    "c": 0.11907,
    "h": 3.5
  },
  "luminance": 0.32372
}

Semantic roles & 50–950 ramp

primary
#DC7E97
secondary
#CCE9E2
accent
#C59921
background
#FEFAFB
surface
#FDF4F6
border
#D5CED0
text
#160F11
muted
#847F80

Preview Lab

Preview with #DC7E97

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

Preview Lab → · Contrast checker → · Palette generator →

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