#7E184E#7E184E

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

Color values

HEX#7E184E
RGBrgb(126, 24, 78)
HSLhsl(328, 68%, 29%)
HSVhsv(328, 81%, 49%)
CMYKcmyk(0%, 81%, 38.1%, 50.6%)
CIE-LABlab(28.49, 46.68, -6.19)
CIE-LCHlch(28.49, 47.09, 352.44°)
OKLaboklab(40.26% 0.1434 -0.0158)
OKLCHoklch(40.26% 0.144 353.7)
XYZxyz(10.3066, 5.6402, 7.7522)
Luminance0.0564 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E184E #187E48
analogous
#7B187E #7E184E #7E181B
triadic
#7E184E #4E7E18 #184E7E
tetradic
#7E184E #7E7B18 #187E48 #181B7E
square
#7E184E #7E7B18 #187E48 #181B7E
split-complementary
#7E184E #1B7E18 #187E7B
monochromatic
#1A0510 #4B0E2E #7E184E #B1226E #D9378D

Accessibility & contrast

On white

9.87
#7E184E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E184E
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E184E#FFFFFF#000000##FFFFFF
##7E184E1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D374F
Deuteranopia (green-blind)
#494A4C
Tritanopia (blue-blind)
#880B31
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e184e;
/* rgb */ color: rgb(126, 24, 78);
/* oklch */ color: oklch(40.3% 0.144 353.7);
Tailwind
colors: {
  custom: {
    50: '#a8617f',
    500: '#7e184e',
    950: '#000000',
  },
}
SCSS
$custom: #7e184e;
$custom-light: #a8617f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e184e",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 78
  },
  "hsl": {
    "h": 328.235,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40257,
    "c": 0.14429,
    "h": 353.7
  },
  "luminance": 0.05639
}

Semantic roles & 50–950 ramp

primary
#7E184E
secondary
#3FB276
accent
#EB8F3D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7E184E

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

Preview Lab → · Contrast checker → · Palette generator →

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