#7E1A47#7E1A47

#7E1A47 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.2% C 0.139 H 358.5°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#7E1A47
RGBrgb(126, 26, 71)
HSLhsl(333, 66%, 30%)
HSVhsv(333, 79%, 49%)
CMYKcmyk(0%, 79.4%, 43.7%, 50.6%)
CIE-LABlab(28.46, 45.28, -1.57)
CIE-LCHlch(28.46, 45.30, 358.02°)
OKLaboklab(40.16% 0.1391 -0.0036)
OKLCHoklch(40.16% 0.139 358.5)
XYZxyz(10.1117, 5.6307, 6.5144)
Luminance0.0563 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1A47 #1A7E51
analogous
#7E1A79 #7E1A47 #7E1F1A
triadic
#7E1A47 #477E1A #1A477E
tetradic
#7E1A47 #797E1A #1A7E51 #1F1A7E
square
#7E1A47 #797E1A #1A7E51 #1F1A7E
split-complementary
#7E1A47 #1A7E1F #1A797E
monochromatic
#19050E #4B102A #7E1A47 #B12464 #D73C81

Accessibility & contrast

On white

9.88
#7E1A47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7E1A47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1A47
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1A47#FFFFFF#000000##FFFFFF
##7E1A471.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303748
Deuteranopia (green-blind)
#4B4A45
Tritanopia (blue-blind)
#89082E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1a47;
/* rgb */ color: rgb(126, 26, 71);
/* oklch */ color: oklch(40.2% 0.139 358.5);
Tailwind
colors: {
  custom: {
    50: '#a8617a',
    500: '#7e1a47',
    950: '#000000',
  },
}
SCSS
$custom: #7e1a47;
$custom-light: #a8617a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1a47",
  "rgb": {
    "r": 126,
    "g": 26,
    "b": 71
  },
  "hsl": {
    "h": 333,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40157,
    "c": 0.13919,
    "h": 358.5
  },
  "luminance": 0.05629
}

Semantic roles & 50–950 ramp

primary
#7E1A47
secondary
#42B280
accent
#E99C3F
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7E1A47

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

Preview Lab → · Contrast checker → · Palette generator →

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