#7E1039#7E1039

#7E1039 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 39.0% C 0.144 H 6.0°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#7E1039
RGBrgb(126, 16, 57)
HSLhsl(338, 77%, 28%)
HSVhsv(338, 87%, 49%)
CMYKcmyk(0%, 87.3%, 54.8%, 50.6%)
CIE-LABlab(27.03, 46.82, 5.79)
CIE-LCHlch(27.03, 47.18, 7.06°)
OKLaboklab(38.96% 0.1431 0.015)
OKLCHoklch(38.96% 0.144 6)
XYZxyz(9.5289, 5.1030, 4.3533)
Luminance0.0510 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1039 #107E55
analogous
#7E1070 #7E1039 #7E1E10
triadic
#7E1039 #397E10 #10397E
tetradic
#7E1039 #707E10 #107E55 #1E107E
square
#7E1039 #707E10 #107E55 #1E107E
split-complementary
#7E1039 #107E1E #10707E
monochromatic
#1B030C #480920 #7E1039 #B41752 #E3256C

Accessibility & contrast

On white

10.39
#7E1039 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#7E1039 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1039
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1039#FFFFFF#000000##FFFFFF
##7E10391.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F323A
Deuteranopia (green-blind)
#4C4736
Tritanopia (blue-blind)
#8A0023
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1039;
/* rgb */ color: rgb(126, 16, 57);
/* oklch */ color: oklch(39.0% 0.144 6.0);
Tailwind
colors: {
  custom: {
    50: '#a95e6f',
    500: '#7e1039',
    950: '#000000',
  },
}
SCSS
$custom: #7e1039;
$custom-light: #a95e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1039",
  "rgb": {
    "r": 126,
    "g": 16,
    "b": 57
  },
  "hsl": {
    "h": 337.636,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38964,
    "c": 0.14393,
    "h": 6
  },
  "luminance": 0.05102
}

Semantic roles & 50–950 ramp

primary
#7E1039
secondary
#36B485
accent
#F4AC34
background
#FBF5F6
surface
#F6EAEC
border
#D0C6C7
text
#110507
muted
#80797A

Preview Lab

Preview with #7E1039

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

Preview Lab → · Contrast checker → · Palette generator →

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