#7E1640#7E1640

#7E1640 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.6% C 0.141 H 2.4°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#7E1640
RGBrgb(126, 22, 64)
HSLhsl(336, 70%, 29%)
HSVhsv(336, 83%, 49%)
CMYKcmyk(0%, 82.5%, 49.2%, 50.6%)
CIE-LABlab(27.79, 45.83, 2.16)
CIE-LCHlch(27.79, 45.88, 2.69°)
OKLaboklab(39.59% 0.1406 0.006)
OKLCHoklch(39.59% 0.141 2.4)
XYZxyz(9.8173, 5.3810, 5.3712)
Luminance0.0538 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1640 #167E54
analogous
#7E1674 #7E1640 #7E2016
triadic
#7E1640 #407E16 #16407E
tetradic
#7E1640 #747E16 #167E54 #20167E
square
#7E1640 #747E16 #167E54 #20167E
split-complementary
#7E1640 #167E20 #16747E
monochromatic
#1A050D #4A0D26 #7E1640 #B21F5A #DB3377

Accessibility & contrast

On white

10.12
#7E1640 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7E1640 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1640
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1640#FFFFFF#000000##FFFFFF
##7E16401.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303541
Deuteranopia (green-blind)
#4C493E
Tritanopia (blue-blind)
#8A0029
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1640;
/* rgb */ color: rgb(126, 22, 64);
/* oklch */ color: oklch(39.6% 0.141 2.4);
Tailwind
colors: {
  custom: {
    50: '#a96074',
    500: '#7e1640',
    950: '#000000',
  },
}
SCSS
$custom: #7e1640;
$custom-light: #a96074;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1640",
  "rgb": {
    "r": 126,
    "g": 22,
    "b": 64
  },
  "hsl": {
    "h": 335.769,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39594,
    "c": 0.14077,
    "h": 2.4
  },
  "luminance": 0.0538
}

Semantic roles & 50–950 ramp

primary
#7E1640
secondary
#3DB383
accent
#EDA53B
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110508
muted
#807A7B

Preview Lab

Preview with #7E1640

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

Preview Lab → · Contrast checker → · Palette generator →

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