#7D1A42#7D1A42

#7D1A42 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.8% C 0.137 H 1.5°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#7D1A42
RGBrgb(125, 26, 66)
HSLhsl(336, 66%, 30%)
HSVhsv(336, 79%, 49%)
CMYKcmyk(0%, 79.2%, 47.2%, 51%)
CIE-LABlab(28.10, 44.47, 1.23)
CIE-LCHlch(28.10, 44.49, 1.58°)
OKLaboklab(39.8% 0.1365 0.0036)
OKLCHoklch(39.8% 0.137 1.5)
XYZxyz(9.8110, 5.4934, 5.6969)
Luminance0.0549 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1A42 #1A7D55
analogous
#7D1A73 #7D1A42 #7D241A
triadic
#7D1A42 #427D1A #1A427D
tetradic
#7D1A42 #737D1A #1A7D55 #241A7D
square
#7D1A42 #737D1A #1A7D55 #241A7D
split-complementary
#7D1A42 #1A7D24 #1A737D
monochromatic
#19050D #4A0F27 #7D1A42 #B0255D #D63B7A

Accessibility & contrast

On white

10.01
#7D1A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7D1A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1A42
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1A42#FFFFFF#000000##FFFFFF
##7D1A421.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313643
Deuteranopia (green-blind)
#4C4940
Tritanopia (blue-blind)
#88052B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7d1a42;
/* rgb */ color: rgb(125, 26, 66);
/* oklch */ color: oklch(39.8% 0.137 1.5);
Tailwind
colors: {
  custom: {
    50: '#a86176',
    500: '#7d1a42',
    950: '#000000',
  },
}
SCSS
$custom: #7d1a42;
$custom-light: #a86176;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1a42",
  "rgb": {
    "r": 125,
    "g": 26,
    "b": 66
  },
  "hsl": {
    "h": 335.758,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.398,
    "c": 0.13652,
    "h": 1.5
  },
  "luminance": 0.05492
}

Semantic roles & 50–950 ramp

primary
#7D1A42
secondary
#42B184
accent
#E9A43F
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100508
muted
#7F7A7B

Preview Lab

Preview with #7D1A42

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

Preview Lab → · Contrast checker → · Palette generator →

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