#7E1639#7E1639

#7E1639 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.4% C 0.139 H 7.0°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#7E1639
RGBrgb(126, 22, 57)
HSLhsl(340, 70%, 29%)
HSVhsv(340, 83%, 49%)
CMYKcmyk(0%, 82.5%, 54.8%, 50.6%)
CIE-LABlab(27.59, 45.21, 6.59)
CIE-LCHlch(27.59, 45.69, 8.29°)
OKLaboklab(39.38% 0.1379 0.017)
OKLCHoklch(39.38% 0.139 7)
XYZxyz(9.6305, 5.3062, 4.3872)
Luminance0.0530 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1639 #167E5B
analogous
#7E166D #7E1639 #7E2716
triadic
#7E1639 #397E16 #16397E
tetradic
#7E1639 #6D7E16 #167E5B #27167E
square
#7E1639 #6D7E16 #167E5B #27167E
split-complementary
#7E1639 #167E27 #166D7E
monochromatic
#1A050C #4A0D21 #7E1639 #B21F51 #DB336C

Accessibility & contrast

On white

10.19
#7E1639 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7E1639 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1639
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1639#FFFFFF#000000##FFFFFF
##7E16391.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32343A
Deuteranopia (green-blind)
#4D4936
Tritanopia (blue-blind)
#8A0026
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1639;
/* rgb */ color: rgb(126, 22, 57);
/* oklch */ color: oklch(39.4% 0.139 7.0);
Tailwind
colors: {
  custom: {
    50: '#a95f6f',
    500: '#7e1639',
    950: '#000000',
  },
}
SCSS
$custom: #7e1639;
$custom-light: #a95f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1639",
  "rgb": {
    "r": 126,
    "g": 22,
    "b": 57
  },
  "hsl": {
    "h": 339.808,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39378,
    "c": 0.13897,
    "h": 7
  },
  "luminance": 0.05305
}

Semantic roles & 50–950 ramp

primary
#7E1639
secondary
#3DB38B
accent
#EDB13B
background
#FBF5F6
surface
#F6EAEC
border
#D0C6C7
text
#110507
muted
#80797A

Preview Lab

Preview with #7E1639

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

Preview Lab → · Contrast checker → · Palette generator →

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