#7E1342#7E1342

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

Color values

HEX#7E1342
RGBrgb(126, 19, 66)
HSLhsl(334, 74%, 28%)
HSVhsv(334, 85%, 49%)
CMYKcmyk(0%, 84.9%, 47.6%, 50.6%)
CIE-LABlab(27.56, 46.86, 0.47)
CIE-LCHlch(27.56, 46.86, 0.58°)
OKLaboklab(39.45% 0.1441 0.0017)
OKLCHoklch(39.45% 0.144 0.7)
XYZxyz(9.8212, 5.2961, 5.6583)
Luminance0.0529 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1342 #137E4F
analogous
#7E1377 #7E1342 #7E1913
triadic
#7E1342 #427E13 #13427E
tetradic
#7E1342 #777E13 #137E4F #19137E
square
#7E1342 #777E13 #137E4F #19137E
split-complementary
#7E1342 #137E19 #13777E
monochromatic
#1B040E #490B26 #7E1342 #B31B5E #DF2C7B

Accessibility & contrast

On white

10.20
#7E1342 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7E1342 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1342
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1342#FFFFFF#000000##FFFFFF
##7E13421.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1342;
/* rgb */ color: rgb(126, 19, 66);
/* oklch */ color: oklch(39.4% 0.144 0.7);
Tailwind
colors: {
  custom: {
    50: '#a95f76',
    500: '#7e1342',
    950: '#000000',
  },
}
SCSS
$custom: #7e1342;
$custom-light: #a95f76;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1342",
  "rgb": {
    "r": 126,
    "g": 19,
    "b": 66
  },
  "hsl": {
    "h": 333.645,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39445,
    "c": 0.14409,
    "h": 0.7
  },
  "luminance": 0.05295
}

Semantic roles & 50–950 ramp

primary
#7E1342
secondary
#39B47E
accent
#F09F37
background
#FAF5F7
surface
#F5EAED
border
#CFC6C8
text
#110508
muted
#80797B

Preview Lab

Preview with #7E1342

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

Preview Lab → · Contrast checker → · Palette generator →

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