#7E1130#7E1130

#7E1130 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.8% C 0.142 H 11.8°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#7E1130
RGBrgb(126, 17, 48)
HSLhsl(343, 76%, 28%)
HSVhsv(343, 87%, 49%)
CMYKcmyk(0%, 86.5%, 61.9%, 50.6%)
CIE-LABlab(26.88, 45.89, 11.71)
CIE-LCHlch(26.88, 47.36, 14.31°)
OKLaboklab(38.78% 0.1387 0.029)
OKLCHoklch(38.78% 0.142 11.8)
XYZxyz(9.3391, 5.0513, 3.2790)
Luminance0.0505 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1130 #117E5F
analogous
#7E1166 #7E1130 #7E2811
triadic
#7E1130 #307E11 #11307E
tetradic
#7E1130 #667E11 #117E5F #28117E
square
#7E1130 #667E11 #117E5F #28117E
split-complementary
#7E1130 #117E28 #11667E
monochromatic
#1B040A #480A1B #7E1130 #B41845 #E2275D

Accessibility & contrast

On white

10.45
#7E1130 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1130
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1130#FFFFFF#000000##FFFFFF
##7E11301.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323130
Deuteranopia (green-blind)
#4D472D
Tritanopia (blue-blind)
#8B001F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1130;
/* rgb */ color: rgb(126, 17, 48);
/* oklch */ color: oklch(38.8% 0.142 11.8);
Tailwind
colors: {
  custom: {
    50: '#aa5e67',
    500: '#7e1130',
    950: '#000000',
  },
}
SCSS
$custom: #7e1130;
$custom-light: #aa5e67;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1130",
  "rgb": {
    "r": 126,
    "g": 17,
    "b": 48
  },
  "hsl": {
    "h": 342.936,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38782,
    "c": 0.14166,
    "h": 11.8
  },
  "luminance": 0.0505
}

Semantic roles & 50–950 ramp

primary
#7E1130
secondary
#37B490
accent
#F3BD35
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7E1130

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

Preview Lab → · Contrast checker → · Palette generator →

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