#7D213D#7D213D

#7D213D is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.3% C 0.127 H 6.7°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#7D213D
RGBrgb(125, 33, 61)
HSLhsl(342, 58%, 31%)
HSVhsv(342, 74%, 49%)
CMYKcmyk(0%, 73.6%, 51.2%, 51%)
CIE-LABlab(28.87, 41.43, 5.68)
CIE-LCHlch(28.87, 41.81, 7.80°)
OKLaboklab(40.32% 0.1263 0.0148)
OKLCHoklch(40.32% 0.127 6.7)
XYZxyz(9.8444, 5.7859, 5.0124)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D213D #217D61
analogous
#7D216B #7D213D #7D3321
triadic
#7D213D #3D7D21 #213D7D
tetradic
#7D213D #6B7D21 #217D61 #33217D
square
#7D213D #6B7D21 #217D61 #33217D
split-complementary
#7D213D #217D33 #216B7D
monochromatic
#1C070E #4D1425 #7D213D #AD2E55 #CF4972

Accessibility & contrast

On white

9.74
#7D213D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7D213D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D213D
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D213D#FFFFFF#000000##FFFFFF
##7D213D1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37383E
Deuteranopia (green-blind)
#4F4B3B
Tritanopia (blue-blind)
#880F2C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d213d;
/* rgb */ color: rgb(125, 33, 61);
/* oklch */ color: oklch(40.3% 0.127 6.7);
Tailwind
colors: {
  custom: {
    50: '#a76472',
    500: '#7d213d',
    950: '#000000',
  },
}
SCSS
$custom: #7d213d;
$custom-light: #a76472;
$custom-dark: #000000;
JSON
{
  "hex": "#7d213d",
  "rgb": {
    "r": 125,
    "g": 33,
    "b": 61
  },
  "hsl": {
    "h": 341.739,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40318,
    "c": 0.12718,
    "h": 6.7
  },
  "luminance": 0.05785
}

Semantic roles & 50–950 ramp

primary
#7D213D
secondary
#4AB091
accent
#E1B246
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100607
muted
#7F7A7A

Preview Lab

Preview with #7D213D

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

Preview Lab → · Contrast checker → · Palette generator →

#7D213D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva