#7E184D#7E184D

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

Color values

HEX#7E184D
RGBrgb(126, 24, 77)
HSLhsl(329, 68%, 29%)
HSVhsv(329, 81%, 49%)
CMYKcmyk(0%, 81%, 38.9%, 50.6%)
CIE-LABlab(28.45, 46.57, -5.58)
CIE-LCHlch(28.45, 46.90, 353.16°)
OKLaboklab(40.22% 0.1431 -0.0142)
OKLCHoklch(40.22% 0.144 354.3)
XYZxyz(10.2711, 5.6260, 7.5648)
Luminance0.0563 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E184D #187E49
analogous
#7C187E #7E184D #7E181A
triadic
#7E184D #4D7E18 #184D7E
tetradic
#7E184D #7E7C18 #187E49 #181A7E
square
#7E184D #7E7C18 #187E49 #181A7E
split-complementary
#7E184D #1A7E18 #187E7C
monochromatic
#1A0510 #4B0E2E #7E184D #B1226C #D9378B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E184D#FFFFFF#000000##FFFFFF
##7E184D1.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)
#2D374E
Deuteranopia (green-blind)
#4A4A4B
Tritanopia (blue-blind)
#880A30
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e184d;
/* rgb */ color: rgb(126, 24, 77);
/* oklch */ color: oklch(40.2% 0.144 354.3);
Tailwind
colors: {
  custom: {
    50: '#a8617e',
    500: '#7e184d',
    950: '#000000',
  },
}
SCSS
$custom: #7e184d;
$custom-light: #a8617e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e184d",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 77
  },
  "hsl": {
    "h": 328.824,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40218,
    "c": 0.14382,
    "h": 354.3
  },
  "luminance": 0.05625
}

Semantic roles & 50–950 ramp

primary
#7E184D
secondary
#3FB277
accent
#EB903D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7E184D

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

Preview Lab → · Contrast checker → · Palette generator →

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