#7E1E4D#7E1E4D

#7E1E4D is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.7% C 0.137 H 355.3°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#7E1E4D
RGBrgb(126, 30, 77)
HSLhsl(331, 62%, 31%)
HSVhsv(331, 76%, 49%)
CMYKcmyk(0%, 76.2%, 38.9%, 50.6%)
CIE-LABlab(29.16, 44.55, -4.52)
CIE-LCHlch(29.16, 44.78, 354.21°)
OKLaboklab(40.74% 0.1367 -0.0114)
OKLCHoklch(40.74% 0.137 355.3)
XYZxyz(10.4087, 5.9013, 7.6107)
Luminance0.0590 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E4D #1E7E4F
analogous
#7E1E7D #7E1E4D #7E1F1E
triadic
#7E1E4D #4D7E1E #1E4D7E
tetradic
#7E1E4D #7D7E1E #1E7E4F #1F1E7E
square
#7E1E4D #7D7E1E #1E7E4F #1F1E7E
split-complementary
#7E1E4D #1E7E1F #1E7D7E
monochromatic
#1B0611 #4D122F #7E1E4D #AF2A6B #D2448A

Accessibility & contrast

On white

9.63
#7E1E4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7E1E4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1E4D
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E4D#FFFFFF#000000##FFFFFF
##7E1E4D1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31394E
Deuteranopia (green-blind)
#4B4B4B
Tritanopia (blue-blind)
#881333
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1e4d;
/* rgb */ color: rgb(126, 30, 77);
/* oklch */ color: oklch(40.7% 0.137 355.3);
Tailwind
colors: {
  custom: {
    50: '#a8637e',
    500: '#7e1e4d',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e4d;
$custom-light: #a8637e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e4d",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 77
  },
  "hsl": {
    "h": 330.625,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.4074,
    "c": 0.13718,
    "h": 355.3
  },
  "luminance": 0.059
}

Semantic roles & 50–950 ramp

primary
#7E1E4D
secondary
#47B17D
accent
#E59643
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7E1E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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