#7E113A#7E113A

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

Color values

HEX#7E113A
RGBrgb(126, 17, 58)
HSLhsl(337, 76%, 28%)
HSVhsv(337, 87%, 49%)
CMYKcmyk(0%, 86.5%, 54%, 50.6%)
CIE-LABlab(27.14, 46.66, 5.28)
CIE-LCHlch(27.14, 46.96, 6.45°)
OKLaboklab(39.06% 0.1427 0.0138)
OKLCHoklch(39.06% 0.143 5.5)
XYZxyz(9.5693, 5.1434, 4.4911)
Luminance0.0514 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E113A #117E55
analogous
#7E1170 #7E113A #7E1E11
triadic
#7E113A #3A7E11 #113A7E
tetradic
#7E113A #707E11 #117E55 #1E117E
square
#7E113A #707E11 #117E55 #1E117E
split-complementary
#7E113A #117E1E #11707E
monochromatic
#1B040C #480A21 #7E113A #B41853 #E2276E

Accessibility & contrast

On white

10.35
#7E113A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E113A
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E113A#FFFFFF#000000##FFFFFF
##7E113A1.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30323B
Deuteranopia (green-blind)
#4C4837
Tritanopia (blue-blind)
#8A0024
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e113a;
/* rgb */ color: rgb(126, 17, 58);
/* oklch */ color: oklch(39.1% 0.143 5.5);
Tailwind
colors: {
  custom: {
    50: '#a95e6f',
    500: '#7e113a',
    950: '#000000',
  },
}
SCSS
$custom: #7e113a;
$custom-light: #a95e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e113a",
  "rgb": {
    "r": 126,
    "g": 17,
    "b": 58
  },
  "hsl": {
    "h": 337.431,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39056,
    "c": 0.1434,
    "h": 5.5
  },
  "luminance": 0.05142
}

Semantic roles & 50–950 ramp

primary
#7E113A
secondary
#37B485
accent
#F3AB35
background
#FBF5F6
surface
#F6EAEC
border
#D0C6C7
text
#110507
muted
#80797A

Preview Lab

Preview with #7E113A

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

Preview Lab → · Contrast checker → · Palette generator →

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