#7D213C#7D213C

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

Color values

HEX#7D213C
RGBrgb(125, 33, 60)
HSLhsl(342, 58%, 31%)
HSVhsv(342, 74%, 49%)
CMYKcmyk(0%, 73.6%, 52%, 51%)
CIE-LABlab(28.84, 41.33, 6.30)
CIE-LCHlch(28.84, 41.81, 8.67°)
OKLaboklab(40.29% 0.1259 0.0164)
OKLCHoklch(40.29% 0.127 7.4)
XYZxyz(9.8178, 5.7752, 4.8718)
Luminance0.0577 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D213C #217D62
analogous
#7D216A #7D213C #7D3421
triadic
#7D213C #3C7D21 #213C7D
tetradic
#7D213C #6A7D21 #217D62 #34217D
square
#7D213C #6A7D21 #217D62 #34217D
split-complementary
#7D213C #217D34 #216A7D
monochromatic
#1C070E #4D1425 #7D213C #AD2E53 #CF4971

Accessibility & contrast

On white

9.75
#7D213C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7D213C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D213C
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D213C#FFFFFF#000000##FFFFFF
##7D213C1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37383D
Deuteranopia (green-blind)
#4F4B3A
Tritanopia (blue-blind)
#890F2C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d213c;
/* rgb */ color: rgb(125, 33, 60);
/* oklch */ color: oklch(40.3% 0.127 7.4);
Tailwind
colors: {
  custom: {
    50: '#a86471',
    500: '#7d213c',
    950: '#000000',
  },
}
SCSS
$custom: #7d213c;
$custom-light: #a86471;
$custom-dark: #000000;
JSON
{
  "hex": "#7d213c",
  "rgb": {
    "r": 125,
    "g": 33,
    "b": 60
  },
  "hsl": {
    "h": 342.391,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40289,
    "c": 0.12697,
    "h": 7.4
  },
  "luminance": 0.05774
}

Semantic roles & 50–950 ramp

primary
#7D213C
secondary
#4AB092
accent
#E1B446
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100607
muted
#7F7A7A

Preview Lab

Preview with #7D213C

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

Preview Lab → · Contrast checker → · Palette generator →

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