#7E1E4E#7E1E4E

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

Color values

HEX#7E1E4E
RGBrgb(126, 30, 78)
HSLhsl(330, 62%, 31%)
HSVhsv(330, 76%, 49%)
CMYKcmyk(0%, 76.2%, 38.1%, 50.6%)
CIE-LABlab(29.20, 44.67, -5.13)
CIE-LCHlch(29.20, 44.96, 353.45°)
OKLaboklab(40.78% 0.137 -0.013)
OKLCHoklch(40.78% 0.138 354.6)
XYZxyz(10.4443, 5.9155, 7.7981)
Luminance0.0591 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E4E #1E7E4E
analogous
#7E1E7E #7E1E4E #7E1E1E
triadic
#7E1E4E #4E7E1E #1E4E7E
tetradic
#7E1E4E #7E7E1E #1E7E4E #1E1E7E
square
#7E1E4E #7E7E1E #1E7E4E #1E1E7E
split-complementary
#7E1E4E #1E7E1E #1E7E7E
monochromatic
#1B0611 #4D122F #7E1E4E #AF2A6D #D2448B

Accessibility & contrast

On white

9.62
#7E1E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1E4E
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E4E#FFFFFF#000000##FFFFFF
##7E1E4E1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303A4F
Deuteranopia (green-blind)
#4B4B4C
Tritanopia (blue-blind)
#881433
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1e4e;
/* rgb */ color: rgb(126, 30, 78);
/* oklch */ color: oklch(40.8% 0.138 354.6);
Tailwind
colors: {
  custom: {
    50: '#a7637f',
    500: '#7e1e4e',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e4e;
$custom-light: #a7637f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e4e",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 78
  },
  "hsl": {
    "h": 330,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40778,
    "c": 0.13764,
    "h": 354.6
  },
  "luminance": 0.05914
}

Semantic roles & 50–950 ramp

primary
#7E1E4E
secondary
#47B17C
accent
#E59443
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7E1E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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