#7E1440#7E1440

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

Color values

HEX#7E1440
RGBrgb(126, 20, 64)
HSLhsl(335, 73%, 29%)
HSVhsv(335, 84%, 49%)
CMYKcmyk(0%, 84.1%, 49.2%, 50.6%)
CIE-LABlab(27.59, 46.40, 1.87)
CIE-LCHlch(27.59, 46.44, 2.30°)
OKLaboklab(39.45% 0.1425 0.0053)
OKLCHoklch(39.45% 0.143 2.1)
XYZxyz(9.7806, 5.3075, 5.3589)
Luminance0.0531 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1440 #147E52
analogous
#7E1475 #7E1440 #7E1D14
triadic
#7E1440 #407E14 #14407E
tetradic
#7E1440 #757E14 #147E52 #1D147E
square
#7E1440 #757E14 #147E52 #1D147E
split-complementary
#7E1440 #147E1D #14757E
monochromatic
#1A040D #490C25 #7E1440 #B31C5B #DE2E77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E1440#FFFFFF#000000##FFFFFF
##7E14401.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)
#2F3441
Deuteranopia (green-blind)
#4B483E
Tritanopia (blue-blind)
#8A0028
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1440;
/* rgb */ color: rgb(126, 20, 64);
/* oklch */ color: oklch(39.4% 0.143 2.1);
Tailwind
colors: {
  custom: {
    50: '#a95f74',
    500: '#7e1440',
    950: '#000000',
  },
}
SCSS
$custom: #7e1440;
$custom-light: #a95f74;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1440",
  "rgb": {
    "r": 126,
    "g": 20,
    "b": 64
  },
  "hsl": {
    "h": 335.094,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39447,
    "c": 0.14258,
    "h": 2.1
  },
  "luminance": 0.05306
}

Semantic roles & 50–950 ramp

primary
#7E1440
secondary
#3AB381
accent
#EFA338
background
#FAF5F7
surface
#F5EAED
border
#CFC6C8
text
#110508
muted
#80797B

Preview Lab

Preview with #7E1440

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

Preview Lab → · Contrast checker → · Palette generator →

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