#7E1432#7E1432

#7E1432 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.0% C 0.140 H 11.1°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#7E1432
RGBrgb(126, 20, 50)
HSLhsl(343, 73%, 29%)
HSVhsv(343, 84%, 49%)
CMYKcmyk(0%, 84.1%, 60.3%, 50.6%)
CIE-LABlab(27.21, 45.24, 10.80)
CIE-LCHlch(27.21, 46.51, 13.42°)
OKLaboklab(39.04% 0.1369 0.0269)
OKLCHoklch(39.04% 0.14 11.1)
XYZxyz(9.4310, 5.1676, 3.5178)
Luminance0.0517 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1432 #147E60
analogous
#7E1467 #7E1432 #7E2B14
triadic
#7E1432 #327E14 #14327E
tetradic
#7E1432 #677E14 #147E60 #2B147E
square
#7E1432 #677E14 #147E60 #2B147E
split-complementary
#7E1432 #147E2B #14677E
monochromatic
#1A040A #490C1D #7E1432 #B31C47 #DE2E60

Accessibility & contrast

On white

10.33
#7E1432 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7E1432 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1432
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1432#FFFFFF#000000##FFFFFF
##7E14321.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333332
Deuteranopia (green-blind)
#4E482F
Tritanopia (blue-blind)
#8A0021
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1432;
/* rgb */ color: rgb(126, 20, 50);
/* oklch */ color: oklch(39.0% 0.140 11.1);
Tailwind
colors: {
  custom: {
    50: '#aa5f69',
    500: '#7e1432',
    950: '#000000',
  },
}
SCSS
$custom: #7e1432;
$custom-light: #aa5f69;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1432",
  "rgb": {
    "r": 126,
    "g": 20,
    "b": 50
  },
  "hsl": {
    "h": 343.019,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39037,
    "c": 0.13955,
    "h": 11.1
  },
  "luminance": 0.05166
}

Semantic roles & 50–950 ramp

primary
#7E1432
secondary
#3AB391
accent
#EFBC38
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7E1432

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

Preview Lab → · Contrast checker → · Palette generator →

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