#7E184F#7E184F

#7E184F is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.3% C 0.145 H 353.1°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#7E184F
RGBrgb(126, 24, 79)
HSLhsl(328, 68%, 29%)
HSVhsv(328, 81%, 49%)
CMYKcmyk(0%, 81%, 37.3%, 50.6%)
CIE-LABlab(28.52, 46.80, -6.80)
CIE-LCHlch(28.52, 47.29, 351.73°)
OKLaboklab(40.3% 0.1437 -0.0174)
OKLCHoklch(40.3% 0.145 353.1)
XYZxyz(10.3428, 5.6547, 7.9424)
Luminance0.0565 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E184F #187E47
analogous
#7A187E #7E184F #7E181C
triadic
#7E184F #4F7E18 #184F7E
tetradic
#7E184F #7E7A18 #187E47 #181C7E
square
#7E184F #7E7A18 #187E47 #181C7E
split-complementary
#7E184F #1C7E18 #187E7A
monochromatic
#1A0510 #4B0E2F #7E184F #B1226F #D9378F

Accessibility & contrast

On white

9.86
#7E184F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E184F
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E184F#FFFFFF#000000##FFFFFF
##7E184F1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3750
Deuteranopia (green-blind)
#494A4D
Tritanopia (blue-blind)
#880C31
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e184f;
/* rgb */ color: rgb(126, 24, 79);
/* oklch */ color: oklch(40.3% 0.145 353.1);
Tailwind
colors: {
  custom: {
    50: '#a86180',
    500: '#7e184f',
    950: '#000000',
  },
}
SCSS
$custom: #7e184f;
$custom-light: #a86180;
$custom-dark: #000000;
JSON
{
  "hex": "#7e184f",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 79
  },
  "hsl": {
    "h": 327.647,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40297,
    "c": 0.14477,
    "h": 353.1
  },
  "luminance": 0.05653
}

Semantic roles & 50–950 ramp

primary
#7E184F
secondary
#3FB274
accent
#EB8D3D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7E184F

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

Preview Lab → · Contrast checker → · Palette generator →

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