#7E1E4A#7E1E4A

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

Color values

HEX#7E1E4A
RGBrgb(126, 30, 74)
HSLhsl(333, 62%, 31%)
HSVhsv(333, 76%, 49%)
CMYKcmyk(0%, 76.2%, 41.3%, 50.6%)
CIE-LABlab(29.06, 44.21, -2.69)
CIE-LCHlch(29.06, 44.29, 356.52°)
OKLaboklab(40.63% 0.1357 -0.0065)
OKLCHoklch(40.63% 0.136 357.3)
XYZxyz(10.3052, 5.8599, 7.0656)
Luminance0.0586 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E4A #1E7E52
analogous
#7E1E7A #7E1E4A #7E221E
triadic
#7E1E4A #4A7E1E #1E4A7E
tetradic
#7E1E4A #7A7E1E #1E7E52 #221E7E
square
#7E1E4A #7A7E1E #1E7E52 #221E7E
split-complementary
#7E1E4A #1E7E22 #1E7A7E
monochromatic
#1B0610 #4D122D #7E1E4A #AF2A67 #D24485

Accessibility & contrast

On white

9.67
#7E1E4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1E4A
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E4A#FFFFFF#000000##FFFFFF
##7E1E4A1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32394B
Deuteranopia (green-blind)
#4C4B48
Tritanopia (blue-blind)
#891231
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1e4a;
/* rgb */ color: rgb(126, 30, 74);
/* oklch */ color: oklch(40.6% 0.136 357.3);
Tailwind
colors: {
  custom: {
    50: '#a8637c',
    500: '#7e1e4a',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e4a;
$custom-light: #a8637c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e4a",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 74
  },
  "hsl": {
    "h": 332.5,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40627,
    "c": 0.13589,
    "h": 357.3
  },
  "luminance": 0.05859
}

Semantic roles & 50–950 ramp

primary
#7E1E4A
secondary
#47B180
accent
#E59B43
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7E1E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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