#7E1040#7E1040

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

Color values

HEX#7E1040
RGBrgb(126, 16, 64)
HSLhsl(334, 77%, 28%)
HSVhsv(334, 87%, 49%)
CMYKcmyk(0%, 87.3%, 49.2%, 50.6%)
CIE-LABlab(27.24, 47.43, 1.35)
CIE-LCHlch(27.24, 47.45, 1.63°)
OKLaboklab(39.18% 0.1458 0.004)
OKLCHoklch(39.18% 0.146 1.6)
XYZxyz(9.7157, 5.1777, 5.3373)
Luminance0.0518 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1040 #107E4E
analogous
#7E1077 #7E1040 #7E1710
triadic
#7E1040 #407E10 #10407E
tetradic
#7E1040 #777E10 #107E4E #17107E
square
#7E1040 #777E10 #107E4E #17107E
split-complementary
#7E1040 #107E17 #10777E
monochromatic
#1B030E #480924 #7E1040 #B4175C #E32578

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E1040#FFFFFF#000000##FFFFFF
##7E10401.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)
#2D3341
Deuteranopia (green-blind)
#4A483E
Tritanopia (blue-blind)
#8A0027
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1040;
/* rgb */ color: rgb(126, 16, 64);
/* oklch */ color: oklch(39.2% 0.146 1.6);
Tailwind
colors: {
  custom: {
    50: '#a95e74',
    500: '#7e1040',
    950: '#000000',
  },
}
SCSS
$custom: #7e1040;
$custom-light: #a95e74;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1040",
  "rgb": {
    "r": 126,
    "g": 16,
    "b": 64
  },
  "hsl": {
    "h": 333.818,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.39185,
    "c": 0.14585,
    "h": 1.6
  },
  "luminance": 0.05176
}

Semantic roles & 50–950 ramp

primary
#7E1040
secondary
#36B47D
accent
#F4A034
background
#FBF5F7
surface
#F6EAED
border
#D0C6C8
text
#110508
muted
#80797B

Preview Lab

Preview with #7E1040

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

Preview Lab → · Contrast checker → · Palette generator →

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