#7E1041#7E1041

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

Color values

HEX#7E1041
RGBrgb(126, 16, 65)
HSLhsl(333, 77%, 28%)
HSVhsv(333, 87%, 49%)
CMYKcmyk(0%, 87.3%, 48.4%, 50.6%)
CIE-LABlab(27.27, 47.52, 0.72)
CIE-LCHlch(27.27, 47.52, 0.87°)
OKLaboklab(39.22% 0.1462 0.0024)
OKLCHoklch(39.22% 0.146 0.9)
XYZxyz(9.7444, 5.1892, 5.4885)
Luminance0.0519 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1041 #107E4D
analogous
#7E1078 #7E1041 #7E1610
triadic
#7E1041 #417E10 #10417E
tetradic
#7E1041 #787E10 #107E4D #16107E
square
#7E1041 #787E10 #107E4D #16107E
split-complementary
#7E1041 #107E16 #10787E
monochromatic
#1B030E #480925 #7E1041 #B4175D #E3257A

Accessibility & contrast

On white

10.31
#7E1041 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1041
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1041#FFFFFF#000000##FFFFFF
##7E10411.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3342
Deuteranopia (green-blind)
#4A483F
Tritanopia (blue-blind)
#890027
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1041;
/* rgb */ color: rgb(126, 16, 65);
/* oklch */ color: oklch(39.2% 0.146 0.9);
Tailwind
colors: {
  custom: {
    50: '#a95e75',
    500: '#7e1041',
    950: '#000000',
  },
}
SCSS
$custom: #7e1041;
$custom-light: #a95e75;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1041",
  "rgb": {
    "r": 126,
    "g": 16,
    "b": 65
  },
  "hsl": {
    "h": 333.273,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.39219,
    "c": 0.14618,
    "h": 0.9
  },
  "luminance": 0.05188
}

Semantic roles & 50–950 ramp

primary
#7E1041
secondary
#36B47C
accent
#F49E34
background
#FBF5F7
surface
#F6EAED
border
#D0C6C8
text
#110508
muted
#80797B

Preview Lab

Preview with #7E1041

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

Preview Lab → · Contrast checker → · Palette generator →

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