#7E1346#7E1346

#7E1346 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.6% C 0.146 H 358.1°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#7E1346
RGBrgb(126, 19, 70)
HSLhsl(331, 74%, 28%)
HSVhsv(331, 85%, 49%)
CMYKcmyk(0%, 84.9%, 44.4%, 50.6%)
CIE-LABlab(27.70, 47.25, -2.02)
CIE-LCHlch(27.70, 47.30, 357.55°)
OKLaboklab(39.59% 0.1455 -0.0047)
OKLCHoklch(39.59% 0.146 358.1)
XYZxyz(9.9433, 5.3449, 6.3012)
Luminance0.0534 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1346 #137E4B
analogous
#7E137B #7E1346 #7E1613
triadic
#7E1346 #467E13 #13467E
tetradic
#7E1346 #7B7E13 #137E4B #16137E
square
#7E1346 #7B7E13 #137E4B #16137E
split-complementary
#7E1346 #137E16 #137B7E
monochromatic
#1B040F #490B28 #7E1346 #B31B64 #DF2C82

Accessibility & contrast

On white

10.15
#7E1346 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7E1346 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1346
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1346#FFFFFF#000000##FFFFFF
##7E13461.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3547
Deuteranopia (green-blind)
#4A4944
Tritanopia (blue-blind)
#89002B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1346;
/* rgb */ color: rgb(126, 19, 70);
/* oklch */ color: oklch(39.6% 0.146 358.1);
Tailwind
colors: {
  custom: {
    50: '#a85f79',
    500: '#7e1346',
    950: '#000000',
  },
}
SCSS
$custom: #7e1346;
$custom-light: #a85f79;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1346",
  "rgb": {
    "r": 126,
    "g": 19,
    "b": 70
  },
  "hsl": {
    "h": 331.402,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39586,
    "c": 0.14555,
    "h": 358.1
  },
  "luminance": 0.05344
}

Semantic roles & 50–950 ramp

primary
#7E1346
secondary
#39B479
accent
#F09837
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100509
muted
#7F797B

Preview Lab

Preview with #7E1346

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

Preview Lab → · Contrast checker → · Palette generator →

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