#7E1331#7E1331

#7E1331 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.9% C 0.140 H 11.5°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#7E1331
RGBrgb(126, 19, 49)
HSLhsl(343, 74%, 28%)
HSVhsv(343, 85%, 49%)
CMYKcmyk(0%, 84.9%, 61.1%, 50.6%)
CIE-LABlab(27.09, 45.44, 11.31)
CIE-LCHlch(27.09, 46.83, 13.97°)
OKLaboklab(38.94% 0.1374 0.0281)
OKLCHoklch(38.94% 0.14 11.5)
XYZxyz(9.3924, 5.1245, 3.3997)
Luminance0.0512 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1331 #137E60
analogous
#7E1366 #7E1331 #7E2B13
triadic
#7E1331 #317E13 #13317E
tetradic
#7E1331 #667E13 #137E60 #2B137E
square
#7E1331 #667E13 #137E60 #2B137E
split-complementary
#7E1331 #137E2B #13667E
monochromatic
#1B040A #490B1C #7E1331 #B31B46 #DF2C5E

Accessibility & contrast

On white

10.37
#7E1331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#7E1331 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1331
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1331#FFFFFF#000000##FFFFFF
##7E13311.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1331;
/* rgb */ color: rgb(126, 19, 49);
/* oklch */ color: oklch(38.9% 0.140 11.5);
Tailwind
colors: {
  custom: {
    50: '#aa5e68',
    500: '#7e1331',
    950: '#000000',
  },
}
SCSS
$custom: #7e1331;
$custom-light: #aa5e68;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1331",
  "rgb": {
    "r": 126,
    "g": 19,
    "b": 49
  },
  "hsl": {
    "h": 343.178,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38941,
    "c": 0.14024,
    "h": 11.5
  },
  "luminance": 0.05123
}

Semantic roles & 50–950 ramp

primary
#7E1331
secondary
#39B491
accent
#F0BD37
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7E1331

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

Preview Lab → · Contrast checker → · Palette generator →

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