#7E1140#7E1140

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

Color values

HEX#7E1140
RGBrgb(126, 17, 64)
HSLhsl(334, 76%, 28%)
HSVhsv(334, 87%, 49%)
CMYKcmyk(0%, 86.5%, 49.2%, 50.6%)
CIE-LABlab(27.32, 47.18, 1.47)
CIE-LCHlch(27.32, 47.21, 1.78°)
OKLaboklab(39.25% 0.145 0.0043)
OKLCHoklch(39.25% 0.145 1.7)
XYZxyz(9.7309, 5.2080, 5.3423)
Luminance0.0521 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1140 #117E4F
analogous
#7E1177 #7E1140 #7E1811
triadic
#7E1140 #407E11 #11407E
tetradic
#7E1140 #777E11 #117E4F #18117E
square
#7E1140 #777E11 #117E4F #18117E
split-complementary
#7E1140 #117E18 #11777E
monochromatic
#1B040E #480A25 #7E1140 #B4185B #E22778

Accessibility & contrast

On white

10.29
#7E1140 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1140
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1140#FFFFFF#000000##FFFFFF
##7E11401.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3341
Deuteranopia (green-blind)
#4B483E
Tritanopia (blue-blind)
#8A0027
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1140;
/* rgb */ color: rgb(126, 17, 64);
/* oklch */ color: oklch(39.2% 0.145 1.7);
Tailwind
colors: {
  custom: {
    50: '#a95e74',
    500: '#7e1140',
    950: '#000000',
  },
}
SCSS
$custom: #7e1140;
$custom-light: #a95e74;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1140",
  "rgb": {
    "r": 126,
    "g": 17,
    "b": 64
  },
  "hsl": {
    "h": 334.128,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39246,
    "c": 0.14507,
    "h": 1.7
  },
  "luminance": 0.05207
}

Semantic roles & 50–950 ramp

primary
#7E1140
secondary
#37B47E
accent
#F3A135
background
#FBF5F7
surface
#F6EAED
border
#D0C6C8
text
#110508
muted
#80797B

Preview Lab

Preview with #7E1140

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

Preview Lab → · Contrast checker → · Palette generator →

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