#7D1A3B#7D1A3B

#7D1A3B is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.6% C 0.135 H 6.3°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#7D1A3B
RGBrgb(125, 26, 59)
HSLhsl(340, 66%, 30%)
HSVhsv(340, 79%, 49%)
CMYKcmyk(0%, 79.2%, 52.8%, 51%)
CIE-LABlab(27.89, 43.82, 5.63)
CIE-LCHlch(27.89, 44.18, 7.32°)
OKLaboklab(39.58% 0.1338 0.0147)
OKLCHoklch(39.58% 0.135 6.3)
XYZxyz(9.6171, 5.4159, 4.6758)
Luminance0.0541 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1A3B #1A7D5C
analogous
#7D1A6D #7D1A3B #7D2B1A
triadic
#7D1A3B #3B7D1A #1A3B7D
tetradic
#7D1A3B #6D7D1A #1A7D5C #2B1A7D
square
#7D1A3B #6D7D1A #1A7D5C #2B1A7D
split-complementary
#7D1A3B #1A7D2B #1A6D7D
monochromatic
#19050C #4A0F23 #7D1A3B #B02553 #D63B6F

Accessibility & contrast

On white

10.08
#7D1A3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7D1A3B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1A3B
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1A3B#FFFFFF#000000##FFFFFF
##7D1A3B1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33353C
Deuteranopia (green-blind)
#4D4939
Tritanopia (blue-blind)
#890028
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7d1a3b;
/* rgb */ color: rgb(125, 26, 59);
/* oklch */ color: oklch(39.6% 0.135 6.3);
Tailwind
colors: {
  custom: {
    50: '#a86170',
    500: '#7d1a3b',
    950: '#000000',
  },
}
SCSS
$custom: #7d1a3b;
$custom-light: #a86170;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1a3b",
  "rgb": {
    "r": 125,
    "g": 26,
    "b": 59
  },
  "hsl": {
    "h": 340,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39578,
    "c": 0.13458,
    "h": 6.3
  },
  "luminance": 0.05415
}

Semantic roles & 50–950 ramp

primary
#7D1A3B
secondary
#42B18C
accent
#E9B03F
background
#FAF6F6
surface
#F5EBEC
border
#CFC6C7
text
#110507
muted
#807A7A

Preview Lab

Preview with #7D1A3B

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

Preview Lab → · Contrast checker → · Palette generator →

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