#7E1B4E#7E1B4E

#7E1B4E is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.5% C 0.141 H 354.1°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#7E1B4E
RGBrgb(126, 27, 78)
HSLhsl(329, 65%, 30%)
HSVhsv(329, 79%, 49%)
CMYKcmyk(0%, 78.6%, 38.1%, 50.6%)
CIE-LABlab(28.83, 45.71, -5.68)
CIE-LCHlch(28.83, 46.07, 352.91°)
OKLaboklab(40.51% 0.1404 -0.0144)
OKLCHoklch(40.51% 0.141 354.1)
XYZxyz(10.3719, 5.7708, 7.7739)
Luminance0.0577 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1B4E #1B7E4B
analogous
#7D1B7E #7E1B4E #7E1B1C
triadic
#7E1B4E #4E7E1B #1B4E7E
tetradic
#7E1B4E #7E7D1B #1B7E4B #1B1C7E
square
#7E1B4E #7E7D1B #1B7E4B #1B1C7E
split-complementary
#7E1B4E #1C7E1B #1B7E7D
monochromatic
#190510 #4C102F #7E1B4E #B0266D #D63E8C

Accessibility & contrast

On white

9.75
#7E1B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7E1B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1B4E
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1B4E#FFFFFF#000000##FFFFFF
##7E1B4E1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E384F
Deuteranopia (green-blind)
#4A4B4C
Tritanopia (blue-blind)
#881032
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1b4e;
/* rgb */ color: rgb(126, 27, 78);
/* oklch */ color: oklch(40.5% 0.141 354.1);
Tailwind
colors: {
  custom: {
    50: '#a8627f',
    500: '#7e1b4e',
    950: '#000000',
  },
}
SCSS
$custom: #7e1b4e;
$custom-light: #a8627f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1b4e",
  "rgb": {
    "r": 126,
    "g": 27,
    "b": 78
  },
  "hsl": {
    "h": 329.091,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.40506,
    "c": 0.14109,
    "h": 354.1
  },
  "luminance": 0.0577
}

Semantic roles & 50–950 ramp

primary
#7E1B4E
secondary
#43B279
accent
#E89140
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7E1B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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