#7E1143#7E1143

#7E1143 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.3% C 0.146 H 359.8°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#7E1143
RGBrgb(126, 17, 67)
HSLhsl(332, 76%, 28%)
HSVhsv(332, 87%, 49%)
CMYKcmyk(0%, 86.5%, 46.8%, 50.6%)
CIE-LABlab(27.42, 47.47, -0.41)
CIE-LCHlch(27.42, 47.47, 359.50°)
OKLaboklab(39.35% 0.1461 -0.0005)
OKLCHoklch(39.35% 0.146 359.8)
XYZxyz(9.8186, 5.2431, 5.8041)
Luminance0.0524 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1143 #117E4C
analogous
#7E1179 #7E1143 #7E1511
triadic
#7E1143 #437E11 #11437E
tetradic
#7E1143 #797E11 #117E4C #15117E
square
#7E1143 #797E11 #117E4C #15117E
split-complementary
#7E1143 #117E15 #11797E
monochromatic
#1B040E #480A26 #7E1143 #B41860 #E2277D

Accessibility & contrast

On white

10.25
#7E1143 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1143
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1143#FFFFFF#000000##FFFFFF
##7E11431.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3444
Deuteranopia (green-blind)
#4A4841
Tritanopia (blue-blind)
#890029
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1143;
/* rgb */ color: rgb(126, 17, 67);
/* oklch */ color: oklch(39.3% 0.146 359.8);
Tailwind
colors: {
  custom: {
    50: '#a95e77',
    500: '#7e1143',
    950: '#000000',
  },
}
SCSS
$custom: #7e1143;
$custom-light: #a95e77;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1143",
  "rgb": {
    "r": 126,
    "g": 17,
    "b": 67
  },
  "hsl": {
    "h": 332.477,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39349,
    "c": 0.14609,
    "h": 359.8
  },
  "luminance": 0.05242
}

Semantic roles & 50–950 ramp

primary
#7E1143
secondary
#37B47B
accent
#F39C35
background
#FAF5F7
surface
#F5EAED
border
#CFC6C8
text
#110508
muted
#80797B

Preview Lab

Preview with #7E1143

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

Preview Lab → · Contrast checker → · Palette generator →

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