#7E1337#7E1337

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

Color values

HEX#7E1337
RGBrgb(126, 19, 55)
HSLhsl(340, 74%, 28%)
HSVhsv(340, 85%, 49%)
CMYKcmyk(0%, 84.9%, 56.3%, 50.6%)
CIE-LABlab(27.24, 45.90, 7.45)
CIE-LCHlch(27.24, 46.50, 9.22°)
OKLaboklab(39.1% 0.1399 0.019)
OKLCHoklch(39.1% 0.141 7.8)
XYZxyz(9.5276, 5.1786, 4.1116)
Luminance0.0518 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1337 #137E5A
analogous
#7E136C #7E1337 #7E2413
triadic
#7E1337 #377E13 #13377E
tetradic
#7E1337 #6C7E13 #137E5A #24137E
square
#7E1337 #6C7E13 #137E5A #24137E
split-complementary
#7E1337 #137E24 #136C7E
monochromatic
#1B040C #490B20 #7E1337 #B31B4E #DF2C68

Accessibility & contrast

On white

10.32
#7E1337 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1337
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1337#FFFFFF#000000##FFFFFF
##7E13371.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313338
Deuteranopia (green-blind)
#4D4834
Tritanopia (blue-blind)
#8A0023
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1337;
/* rgb */ color: rgb(126, 19, 55);
/* oklch */ color: oklch(39.1% 0.141 7.8);
Tailwind
colors: {
  custom: {
    50: '#a95e6d',
    500: '#7e1337',
    950: '#000000',
  },
}
SCSS
$custom: #7e1337;
$custom-light: #a95e6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1337",
  "rgb": {
    "r": 126,
    "g": 19,
    "b": 55
  },
  "hsl": {
    "h": 339.813,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39101,
    "c": 0.14116,
    "h": 7.8
  },
  "luminance": 0.05177
}

Semantic roles & 50–950 ramp

primary
#7E1337
secondary
#39B48A
accent
#F0B237
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110507
muted
#80797A

Preview Lab

Preview with #7E1337

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

Preview Lab → · Contrast checker → · Palette generator →

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