#7E184A#7E184A

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

Color values

HEX#7E184A
RGBrgb(126, 24, 74)
HSLhsl(331, 68%, 29%)
HSVhsv(331, 81%, 49%)
CMYKcmyk(0%, 81%, 41.3%, 50.6%)
CIE-LABlab(28.34, 46.24, -3.75)
CIE-LCHlch(28.34, 46.39, 355.36°)
OKLaboklab(40.1% 0.1422 -0.0093)
OKLCHoklch(40.1% 0.142 356.3)
XYZxyz(10.1676, 5.5846, 7.0198)
Luminance0.0558 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E184A #187E4C
analogous
#7E187D #7E184A #7E1918
triadic
#7E184A #4A7E18 #184A7E
tetradic
#7E184A #7D7E18 #187E4C #19187E
square
#7E184A #7D7E18 #187E4C #19187E
split-complementary
#7E184A #187E19 #187D7E
monochromatic
#1A050F #4B0E2C #7E184A #B12268 #D93787

Accessibility & contrast

On white

9.92
#7E184A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7E184A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E184A
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E184A#FFFFFF#000000##FFFFFF
##7E184A1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E374B
Deuteranopia (green-blind)
#4A4A48
Tritanopia (blue-blind)
#89072F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e184a;
/* rgb */ color: rgb(126, 24, 74);
/* oklch */ color: oklch(40.1% 0.142 356.3);
Tailwind
colors: {
  custom: {
    50: '#a8617c',
    500: '#7e184a',
    950: '#000000',
  },
}
SCSS
$custom: #7e184a;
$custom-light: #a8617c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e184a",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 74
  },
  "hsl": {
    "h": 330.588,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40102,
    "c": 0.14248,
    "h": 356.3
  },
  "luminance": 0.05583
}

Semantic roles & 50–950 ramp

primary
#7E184A
secondary
#3FB27A
accent
#EB963D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7E184A

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

Preview Lab → · Contrast checker → · Palette generator →

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