#7E1145#7E1145

#7E1145 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.4% C 0.147 H 358.5°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#7E1145
RGBrgb(126, 17, 69)
HSLhsl(331, 76%, 28%)
HSVhsv(331, 87%, 49%)
CMYKcmyk(0%, 86.5%, 45.2%, 50.6%)
CIE-LABlab(27.48, 47.66, -1.66)
CIE-LCHlch(27.48, 47.69, 358.00°)
OKLaboklab(39.42% 0.1468 -0.0038)
OKLCHoklch(39.42% 0.147 358.5)
XYZxyz(9.8796, 5.2675, 6.1256)
Luminance0.0527 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1145 #117E4A
analogous
#7E117B #7E1145 #7E1311
triadic
#7E1145 #457E11 #11457E
tetradic
#7E1145 #7B7E11 #117E4A #13117E
square
#7E1145 #7B7E11 #117E4A #13117E
split-complementary
#7E1145 #117E13 #117B7E
monochromatic
#1B040F #480A27 #7E1145 #B41863 #E22780

Accessibility & contrast

On white

10.23
#7E1145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7E1145 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1145
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1145#FFFFFF#000000##FFFFFF
##7E11451.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3446
Deuteranopia (green-blind)
#4A4843
Tritanopia (blue-blind)
#89002A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1145;
/* rgb */ color: rgb(126, 17, 69);
/* oklch */ color: oklch(39.4% 0.147 358.5);
Tailwind
colors: {
  custom: {
    50: '#a85e78',
    500: '#7e1145',
    950: '#000000',
  },
}
SCSS
$custom: #7e1145;
$custom-light: #a85e78;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1145",
  "rgb": {
    "r": 126,
    "g": 17,
    "b": 69
  },
  "hsl": {
    "h": 331.376,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3942,
    "c": 0.14682,
    "h": 358.5
  },
  "luminance": 0.05266
}

Semantic roles & 50–950 ramp

primary
#7E1145
secondary
#37B478
accent
#F39835
background
#FAF5F7
surface
#F5EAED
border
#CFC6C8
text
#110509
muted
#80797B

Preview Lab

Preview with #7E1145

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

Preview Lab → · Contrast checker → · Palette generator →

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