#7D1A4E#7D1A4E

#7D1A4E is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.2% C 0.141 H 353.6°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#7D1A4E
RGBrgb(125, 26, 78)
HSLhsl(328, 66%, 30%)
HSVhsv(328, 79%, 49%)
CMYKcmyk(0%, 79.2%, 37.6%, 51%)
CIE-LABlab(28.51, 45.76, -6.17)
CIE-LCHlch(28.51, 46.18, 352.32°)
OKLaboklab(40.24% 0.1405 -0.0158)
OKLCHoklch(40.24% 0.141 353.6)
XYZxyz(10.2026, 5.6501, 7.7595)
Luminance0.0565 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1A4E #1A7D49
analogous
#7B1A7D #7D1A4E #7D1A1C
triadic
#7D1A4E #4E7D1A #1A4E7D
tetradic
#7D1A4E #7D7B1A #1A7D49 #1A1C7D
square
#7D1A4E #7D7B1A #1A7D49 #1A1C7D
split-complementary
#7D1A4E #1C7D1A #1A7D7B
monochromatic
#190510 #4A0F2E #7D1A4E #B0256E #D63B8D

Accessibility & contrast

On white

9.86
#7D1A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1A4E
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1A4E#FFFFFF#000000##FFFFFF
##7D1A4E1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D384F
Deuteranopia (green-blind)
#494A4C
Tritanopia (blue-blind)
#870F31
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d1a4e;
/* rgb */ color: rgb(125, 26, 78);
/* oklch */ color: oklch(40.2% 0.141 353.6);
Tailwind
colors: {
  custom: {
    50: '#a7627f',
    500: '#7d1a4e',
    950: '#000000',
  },
}
SCSS
$custom: #7d1a4e;
$custom-light: #a7627f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1a4e",
  "rgb": {
    "r": 125,
    "g": 26,
    "b": 78
  },
  "hsl": {
    "h": 328.485,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.4024,
    "c": 0.14138,
    "h": 353.6
  },
  "luminance": 0.05649
}

Semantic roles & 50–950 ramp

primary
#7D1A4E
secondary
#42B177
accent
#E9903F
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7D1A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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