#7E1849#7E1849

#7E1849 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.1% C 0.142 H 356.9°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#7E1849
RGBrgb(126, 24, 73)
HSLhsl(331, 68%, 29%)
HSVhsv(331, 81%, 49%)
CMYKcmyk(0%, 81%, 42.1%, 50.6%)
CIE-LABlab(28.30, 46.13, -3.13)
CIE-LCHlch(28.30, 46.24, 356.11°)
OKLaboklab(40.07% 0.1419 -0.0077)
OKLCHoklch(40.07% 0.142 356.9)
XYZxyz(10.1342, 5.5712, 6.8437)
Luminance0.0557 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1849 #187E4D
analogous
#7E187C #7E1849 #7E1A18
triadic
#7E1849 #497E18 #18497E
tetradic
#7E1849 #7C7E18 #187E4D #1A187E
square
#7E1849 #7C7E18 #187E4D #1A187E
split-complementary
#7E1849 #187E1A #187C7E
monochromatic
#1A050F #4B0E2B #7E1849 #B12267 #D93785

Accessibility & contrast

On white

9.93
#7E1849 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7E1849 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1849
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1849#FFFFFF#000000##FFFFFF
##7E18491.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E374A
Deuteranopia (green-blind)
#4A4A47
Tritanopia (blue-blind)
#89072E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1849;
/* rgb */ color: rgb(126, 24, 73);
/* oklch */ color: oklch(40.1% 0.142 356.9);
Tailwind
colors: {
  custom: {
    50: '#a8617b',
    500: '#7e1849',
    950: '#000000',
  },
}
SCSS
$custom: #7e1849;
$custom-light: #a8617b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1849",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 73
  },
  "hsl": {
    "h": 331.176,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40065,
    "c": 0.14207,
    "h": 356.9
  },
  "luminance": 0.0557
}

Semantic roles & 50–950 ramp

primary
#7E1849
secondary
#3FB27B
accent
#EB973D
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7E1849

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

Preview Lab → · Contrast checker → · Palette generator →

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