#7E1032#7E1032

#7E1032 is a dark, vivid pink. Relative luminance 0.050; OKLCH L 38.8% C 0.143 H 10.4°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#7E1032
RGBrgb(126, 16, 50)
HSLhsl(341, 77%, 28%)
HSVhsv(341, 87%, 49%)
CMYKcmyk(0%, 87.3%, 60.3%, 50.6%)
CIE-LABlab(26.84, 46.28, 10.30)
CIE-LCHlch(26.84, 47.41, 12.54°)
OKLaboklab(38.77% 0.1403 0.0257)
OKLCHoklch(38.77% 0.143 10.4)
XYZxyz(9.3662, 5.0379, 3.4962)
Luminance0.0504 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1032 #107E5C
analogous
#7E1069 #7E1032 #7E2510
triadic
#7E1032 #327E10 #10327E
tetradic
#7E1032 #697E10 #107E5C #25107E
square
#7E1032 #697E10 #107E5C #25107E
split-complementary
#7E1032 #107E25 #10697E
monochromatic
#1B030B #48091C #7E1032 #B41748 #E32560

Accessibility & contrast

On white

10.46
#7E1032 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#7E1032 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1032
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1032#FFFFFF#000000##FFFFFF
##7E10321.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313132
Deuteranopia (green-blind)
#4D472F
Tritanopia (blue-blind)
#8A0020
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e1032;
/* rgb */ color: rgb(126, 16, 50);
/* oklch */ color: oklch(38.8% 0.143 10.4);
Tailwind
colors: {
  custom: {
    50: '#aa5d69',
    500: '#7e1032',
    950: '#000000',
  },
}
SCSS
$custom: #7e1032;
$custom-light: #aa5d69;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1032",
  "rgb": {
    "r": 126,
    "g": 16,
    "b": 50
  },
  "hsl": {
    "h": 341.455,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38769,
    "c": 0.14264,
    "h": 10.4
  },
  "luminance": 0.05036
}

Semantic roles & 50–950 ramp

primary
#7E1032
secondary
#36B48D
accent
#F4B934
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7E1032

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

Preview Lab → · Contrast checker → · Palette generator →

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