#7D1D42#7D1D42

#7D1D42 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.1% C 0.133 H 2.2°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#7D1D42
RGBrgb(125, 29, 66)
HSLhsl(337, 62%, 30%)
HSVhsv(337, 77%, 49%)
CMYKcmyk(0%, 76.8%, 47.2%, 51%)
CIE-LABlab(28.47, 43.43, 1.76)
CIE-LCHlch(28.47, 43.47, 2.33°)
OKLaboklab(40.07% 0.1331 0.005)
OKLCHoklch(40.07% 0.133 2.2)
XYZxyz(9.8810, 5.6334, 5.7202)
Luminance0.0563 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1D42 #1D7D58
analogous
#7D1D72 #7D1D42 #7D281D
triadic
#7D1D42 #427D1D #1D427D
tetradic
#7D1D42 #727D1D #1D7D58 #281D7D
square
#7D1D42 #727D1D #1D7D58 #281D7D
split-complementary
#7D1D42 #1D7D28 #1D727D
monochromatic
#1A060E #4B1128 #7D1D42 #AF295C #D3417A

Accessibility & contrast

On white

9.88
#7D1D42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7D1D42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1D42
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1D42#FFFFFF#000000##FFFFFF
##7D1D421.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333743
Deuteranopia (green-blind)
#4D4A40
Tritanopia (blue-blind)
#880B2D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d1d42;
/* rgb */ color: rgb(125, 29, 66);
/* oklch */ color: oklch(40.1% 0.133 2.2);
Tailwind
colors: {
  custom: {
    50: '#a76276',
    500: '#7d1d42',
    950: '#000000',
  },
}
SCSS
$custom: #7d1d42;
$custom-light: #a76276;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1d42",
  "rgb": {
    "r": 125,
    "g": 29,
    "b": 66
  },
  "hsl": {
    "h": 336.875,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40073,
    "c": 0.13321,
    "h": 2.2
  },
  "luminance": 0.05632
}

Semantic roles & 50–950 ramp

primary
#7D1D42
secondary
#45B187
accent
#E5A742
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7D1D42

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

Preview Lab → · Contrast checker → · Palette generator →

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