#7E1239#7E1239

#7E1239 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.1% C 0.142 H 6.3°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#7E1239
RGBrgb(126, 18, 57)
HSLhsl(338, 75%, 28%)
HSVhsv(338, 86%, 49%)
CMYKcmyk(0%, 85.7%, 54.8%, 50.6%)
CIE-LABlab(27.20, 46.32, 6.04)
CIE-LCHlch(27.20, 46.71, 7.43°)
OKLaboklab(39.09% 0.1415 0.0156)
OKLCHoklch(39.09% 0.142 6.3)
XYZxyz(9.5599, 5.1650, 4.3637)
Luminance0.0516 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1239 #127E57
analogous
#7E126F #7E1239 #7E2112
triadic
#7E1239 #397E12 #12397E
tetradic
#7E1239 #6F7E12 #127E57 #21127E
square
#7E1239 #6F7E12 #127E57 #21127E
split-complementary
#7E1239 #127E21 #126F7E
monochromatic
#1B040C #480A21 #7E1239 #B41A51 #E12A6C

Accessibility & contrast

On white

10.33
#7E1239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7E1239 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1239
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1239#FFFFFF#000000##FFFFFF
##7E12391.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30333A
Deuteranopia (green-blind)
#4C4836
Tritanopia (blue-blind)
#8A0024
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1239;
/* rgb */ color: rgb(126, 18, 57);
/* oklch */ color: oklch(39.1% 0.142 6.3);
Tailwind
colors: {
  custom: {
    50: '#a95e6f',
    500: '#7e1239',
    950: '#000000',
  },
}
SCSS
$custom: #7e1239;
$custom-light: #a95e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1239",
  "rgb": {
    "r": 126,
    "g": 18,
    "b": 57
  },
  "hsl": {
    "h": 338.333,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39091,
    "c": 0.14239,
    "h": 6.3
  },
  "luminance": 0.05164
}

Semantic roles & 50–950 ramp

primary
#7E1239
secondary
#38B487
accent
#F2AE36
background
#FBF5F6
surface
#F6EAEC
border
#D0C6C7
text
#110507
muted
#80797A

Preview Lab

Preview with #7E1239

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

Preview Lab → · Contrast checker → · Palette generator →

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