#7E113E#7E113E

#7E113E is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.2% C 0.144 H 3.0°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#7E113E
RGBrgb(126, 17, 62)
HSLhsl(335, 76%, 28%)
HSVhsv(335, 87%, 49%)
CMYKcmyk(0%, 86.5%, 50.8%, 50.6%)
CIE-LABlab(27.26, 47.00, 2.73)
CIE-LCHlch(27.26, 47.08, 3.33°)
OKLaboklab(39.18% 0.1443 0.0075)
OKLCHoklch(39.18% 0.144 3)
XYZxyz(9.6750, 5.1857, 5.0480)
Luminance0.0518 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E113E #117E51
analogous
#7E1174 #7E113E #7E1A11
triadic
#7E113E #3E7E11 #113E7E
tetradic
#7E113E #747E11 #117E51 #1A117E
square
#7E113E #747E11 #117E51 #1A117E
split-complementary
#7E113E #117E1A #11747E
monochromatic
#1B040D #480A23 #7E113E #B41859 #E22774

Accessibility & contrast

On white

10.31
#7E113E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E113E
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E113E#FFFFFF#000000##FFFFFF
##7E113E1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E333F
Deuteranopia (green-blind)
#4B483B
Tritanopia (blue-blind)
#8A0026
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e113e;
/* rgb */ color: rgb(126, 17, 62);
/* oklch */ color: oklch(39.2% 0.144 3.0);
Tailwind
colors: {
  custom: {
    50: '#a95e73',
    500: '#7e113e',
    950: '#000000',
  },
}
SCSS
$custom: #7e113e;
$custom-light: #a95e73;
$custom-dark: #000000;
JSON
{
  "hex": "#7e113e",
  "rgb": {
    "r": 126,
    "g": 17,
    "b": 62
  },
  "hsl": {
    "h": 335.229,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39181,
    "c": 0.14447,
    "h": 3
  },
  "luminance": 0.05184
}

Semantic roles & 50–950 ramp

primary
#7E113E
secondary
#37B480
accent
#F3A435
background
#FBF5F6
surface
#F6EAEC
border
#D0C6C7
text
#110508
muted
#80797B

Preview Lab

Preview with #7E113E

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

Preview Lab → · Contrast checker → · Palette generator →

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