#7D1C3E#7D1C3E

#7D1C3E is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.9% C 0.133 H 4.7°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#7D1C3E
RGBrgb(125, 28, 62)
HSLhsl(339, 63%, 30%)
HSVhsv(339, 78%, 49%)
CMYKcmyk(0%, 77.6%, 50.4%, 51%)
CIE-LABlab(28.22, 43.40, 4.09)
CIE-LCHlch(28.22, 43.59, 5.38°)
OKLaboklab(39.85% 0.1327 0.0109)
OKLCHoklch(39.85% 0.133 4.7)
XYZxyz(9.7430, 5.5396, 5.1127)
Luminance0.0554 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1C3E #1C7D5B
analogous
#7D1C6F #7D1C3E #7D2A1C
triadic
#7D1C3E #3E7D1C #1C3E7D
tetradic
#7D1C3E #6F7D1C #1C7D5B #2A1C7D
square
#7D1C3E #6F7D1C #1C7D5B #2A1C7D
split-complementary
#7D1C3E #1C7D2A #1C6F7D
monochromatic
#19060C #4B1125 #7D1C3E #AF2757 #D43F73

Accessibility & contrast

On white

9.96
#7D1C3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7D1C3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1C3E
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1C3E#FFFFFF#000000##FFFFFF
##7D1C3E1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33363F
Deuteranopia (green-blind)
#4D493C
Tritanopia (blue-blind)
#88062A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d1c3e;
/* rgb */ color: rgb(125, 28, 62);
/* oklch */ color: oklch(39.9% 0.133 4.7);
Tailwind
colors: {
  custom: {
    50: '#a86273',
    500: '#7d1c3e',
    950: '#000000',
  },
}
SCSS
$custom: #7d1c3e;
$custom-light: #a86273;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1c3e",
  "rgb": {
    "r": 125,
    "g": 28,
    "b": 62
  },
  "hsl": {
    "h": 338.969,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.39851,
    "c": 0.13318,
    "h": 4.7
  },
  "luminance": 0.05538
}

Semantic roles & 50–950 ramp

primary
#7D1C3E
secondary
#44B18B
accent
#E6AD41
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100508
muted
#7F7A7B

Preview Lab

Preview with #7D1C3E

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

Preview Lab → · Contrast checker → · Palette generator →

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