#7E1137#7E1137

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

Color values

HEX#7E1137
RGBrgb(126, 17, 55)
HSLhsl(339, 76%, 28%)
HSVhsv(339, 87%, 49%)
CMYKcmyk(0%, 86.5%, 56.3%, 50.6%)
CIE-LABlab(27.06, 46.41, 7.20)
CIE-LCHlch(27.06, 46.97, 8.81°)
OKLaboklab(38.97% 0.1416 0.0184)
OKLCHoklch(38.97% 0.143 7.4)
XYZxyz(9.4951, 5.1138, 4.1008)
Luminance0.0511 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1137 #117E58
analogous
#7E116D #7E1137 #7E2211
triadic
#7E1137 #377E11 #11377E
tetradic
#7E1137 #6D7E11 #117E58 #22117E
square
#7E1137 #6D7E11 #117E58 #22117E
split-complementary
#7E1137 #117E22 #116D7E
monochromatic
#1B040C #480A1F #7E1137 #B4184F #E22768

Accessibility & contrast

On white

10.38
#7E1137 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1137
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1137#FFFFFF#000000##FFFFFF
##7E11371.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1137;
/* rgb */ color: rgb(126, 17, 55);
/* oklch */ color: oklch(39.0% 0.143 7.4);
Tailwind
colors: {
  custom: {
    50: '#a95e6d',
    500: '#7e1137',
    950: '#000000',
  },
}
SCSS
$custom: #7e1137;
$custom-light: #a95e6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1137",
  "rgb": {
    "r": 126,
    "g": 17,
    "b": 55
  },
  "hsl": {
    "h": 339.083,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38968,
    "c": 0.14274,
    "h": 7.4
  },
  "luminance": 0.05112
}

Semantic roles & 50–950 ramp

primary
#7E1137
secondary
#37B488
accent
#F3B135
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110507
muted
#80797A

Preview Lab

Preview with #7E1137

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

Preview Lab → · Contrast checker → · Palette generator →

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