#7E184B#7E184B

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

Color values

HEX#7E184B
RGBrgb(126, 24, 75)
HSLhsl(330, 68%, 29%)
HSVhsv(330, 81%, 49%)
CMYKcmyk(0%, 81%, 40.5%, 50.6%)
CIE-LABlab(28.38, 46.34, -4.36)
CIE-LCHlch(28.38, 46.55, 354.62°)
OKLaboklab(40.14% 0.1425 -0.0109)
OKLCHoklch(40.14% 0.143 355.6)
XYZxyz(10.2015, 5.5982, 7.1986)
Luminance0.0560 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E184B #187E4B
analogous
#7E187E #7E184B #7E1818
triadic
#7E184B #4B7E18 #184B7E
tetradic
#7E184B #7E7E18 #187E4B #18187E
square
#7E184B #7E7E18 #187E4B #18187E
split-complementary
#7E184B #187E18 #187E7E
monochromatic
#1A050F #4B0E2C #7E184B #B1226A #D93788

Accessibility & contrast

On white

9.91
#7E184B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E184B
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E184B#FFFFFF#000000##FFFFFF
##7E184B1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E374C
Deuteranopia (green-blind)
#4A4A49
Tritanopia (blue-blind)
#89082F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e184b;
/* rgb */ color: rgb(126, 24, 75);
/* oklch */ color: oklch(40.1% 0.143 355.6);
Tailwind
colors: {
  custom: {
    50: '#a8617d',
    500: '#7e184b',
    950: '#000000',
  },
}
SCSS
$custom: #7e184b;
$custom-light: #a8617d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e184b",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 75
  },
  "hsl": {
    "h": 330,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.4014,
    "c": 0.14292,
    "h": 355.6
  },
  "luminance": 0.05597
}

Semantic roles & 50–950 ramp

primary
#7E184B
secondary
#3FB279
accent
#EB943D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7E184B

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

Preview Lab → · Contrast checker → · Palette generator →

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