#7E1141#7E1141

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

Color values

HEX#7E1141
RGBrgb(126, 17, 65)
HSLhsl(334, 76%, 28%)
HSVhsv(334, 87%, 49%)
CMYKcmyk(0%, 86.5%, 48.4%, 50.6%)
CIE-LABlab(27.35, 47.28, 0.84)
CIE-LCHlch(27.35, 47.28, 1.02°)
OKLaboklab(39.28% 0.1454 0.0027)
OKLCHoklch(39.28% 0.145 1.1)
XYZxyz(9.7596, 5.2195, 5.4936)
Luminance0.0522 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1141 #117E4E
analogous
#7E1177 #7E1141 #7E1711
triadic
#7E1141 #417E11 #11417E
tetradic
#7E1141 #777E11 #117E4E #17117E
square
#7E1141 #777E11 #117E4E #17117E
split-complementary
#7E1141 #117E17 #11777E
monochromatic
#1B040E #480A25 #7E1141 #B4185D #E2277A

Accessibility & contrast

On white

10.28
#7E1141 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7E1141 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1141
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1141#FFFFFF#000000##FFFFFF
##7E11411.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3342
Deuteranopia (green-blind)
#4A483F
Tritanopia (blue-blind)
#890028
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1141;
/* rgb */ color: rgb(126, 17, 65);
/* oklch */ color: oklch(39.3% 0.145 1.1);
Tailwind
colors: {
  custom: {
    50: '#a95e75',
    500: '#7e1141',
    950: '#000000',
  },
}
SCSS
$custom: #7e1141;
$custom-light: #a95e75;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1141",
  "rgb": {
    "r": 126,
    "g": 17,
    "b": 65
  },
  "hsl": {
    "h": 333.578,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3928,
    "c": 0.1454,
    "h": 1.1
  },
  "luminance": 0.05218
}

Semantic roles & 50–950 ramp

primary
#7E1141
secondary
#37B47D
accent
#F39F35
background
#FAF5F7
surface
#F5EAED
border
#CFC6C8
text
#110508
muted
#80797B

Preview Lab

Preview with #7E1141

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

Preview Lab → · Contrast checker → · Palette generator →

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