#7E184C#7E184C

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

Color values

HEX#7E184C
RGBrgb(126, 24, 76)
HSLhsl(329, 68%, 29%)
HSVhsv(329, 81%, 49%)
CMYKcmyk(0%, 81%, 39.7%, 50.6%)
CIE-LABlab(28.41, 46.46, -4.97)
CIE-LCHlch(28.41, 46.72, 353.89°)
OKLaboklab(40.18% 0.1428 -0.0125)
OKLCHoklch(40.18% 0.143 355)
XYZxyz(10.2360, 5.6120, 7.3803)
Luminance0.0561 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E184C #187E4A
analogous
#7D187E #7E184C #7E1819
triadic
#7E184C #4C7E18 #184C7E
tetradic
#7E184C #7E7D18 #187E4A #18197E
square
#7E184C #7E7D18 #187E4A #18197E
split-complementary
#7E184C #197E18 #187E7D
monochromatic
#1A0510 #4B0E2D #7E184C #B1226B #D9378A

Accessibility & contrast

On white

9.90
#7E184C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E184C
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E184C#FFFFFF#000000##FFFFFF
##7E184C1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D374D
Deuteranopia (green-blind)
#4A4A4A
Tritanopia (blue-blind)
#890930
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e184c;
/* rgb */ color: rgb(126, 24, 76);
/* oklch */ color: oklch(40.2% 0.143 355.0);
Tailwind
colors: {
  custom: {
    50: '#a8617e',
    500: '#7e184c',
    950: '#000000',
  },
}
SCSS
$custom: #7e184c;
$custom-light: #a8617e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e184c",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 76
  },
  "hsl": {
    "h": 329.412,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40179,
    "c": 0.14337,
    "h": 355
  },
  "luminance": 0.05611
}

Semantic roles & 50–950 ramp

primary
#7E184C
secondary
#3FB278
accent
#EB923D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7E184C

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

Preview Lab → · Contrast checker → · Palette generator →

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