#7E1D4D#7E1D4D

#7E1D4D is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.6% C 0.138 H 355.1°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#7E1D4D
RGBrgb(126, 29, 77)
HSLhsl(330, 63%, 30%)
HSVhsv(330, 77%, 49%)
CMYKcmyk(0%, 77%, 38.9%, 50.6%)
CIE-LABlab(29.03, 44.91, -4.71)
CIE-LCHlch(29.03, 45.16, 354.01°)
OKLaboklab(40.65% 0.1379 -0.0118)
OKLCHoklch(40.65% 0.138 355.1)
XYZxyz(10.3838, 5.8514, 7.6024)
Luminance0.0585 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D4D #1D7E4E
analogous
#7E1D7E #7E1D4D #7E1D1D
triadic
#7E1D4D #4D7E1D #1D4D7E
tetradic
#7E1D4D #7E7E1D #1D7E4E #1D1D7E
square
#7E1D4D #7E7E1D #1D7E4E #1D1D7E
split-complementary
#7E1D4D #1D7E1D #1D7E7E
monochromatic
#1B0610 #4C122F #7E1D4D #B0286B #D3428A

Accessibility & contrast

On white

9.68
#7E1D4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7E1D4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1D4D
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D4D#FFFFFF#000000##FFFFFF
##7E1D4D1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30394E
Deuteranopia (green-blind)
#4B4B4B
Tritanopia (blue-blind)
#881232
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1d4d;
/* rgb */ color: rgb(126, 29, 77);
/* oklch */ color: oklch(40.6% 0.138 355.1);
Tailwind
colors: {
  custom: {
    50: '#a8637e',
    500: '#7e1d4d',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d4d;
$custom-light: #a8637e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d4d",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 77
  },
  "hsl": {
    "h": 330.309,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40646,
    "c": 0.13836,
    "h": 355.1
  },
  "luminance": 0.0585
}

Semantic roles & 50–950 ramp

primary
#7E1D4D
secondary
#45B17C
accent
#E69542
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7E1D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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