#7E1B4F#7E1B4F

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

Color values

HEX#7E1B4F
RGBrgb(126, 27, 79)
HSLhsl(328, 65%, 30%)
HSVhsv(328, 79%, 49%)
CMYKcmyk(0%, 78.6%, 37.3%, 50.6%)
CIE-LABlab(28.86, 45.83, -6.29)
CIE-LCHlch(28.86, 46.26, 352.19°)
OKLaboklab(40.55% 0.1407 -0.0161)
OKLCHoklch(40.55% 0.142 353.5)
XYZxyz(10.4081, 5.7853, 7.9642)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1B4F #1B7E4A
analogous
#7C1B7E #7E1B4F #7E1B1D
triadic
#7E1B4F #4F7E1B #1B4F7E
tetradic
#7E1B4F #7E7C1B #1B7E4A #1B1D7E
square
#7E1B4F #7E7C1B #1B7E4A #1B1D7E
split-complementary
#7E1B4F #1D7E1B #1B7E7C
monochromatic
#190510 #4C102F #7E1B4F #B0266F #D63E8E

Accessibility & contrast

On white

9.74
#7E1B4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7E1B4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1B4F
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1B4F#FFFFFF#000000##FFFFFF
##7E1B4F1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1b4f;
/* rgb */ color: rgb(126, 27, 79);
/* oklch */ color: oklch(40.5% 0.142 353.5);
Tailwind
colors: {
  custom: {
    50: '#a86280',
    500: '#7e1b4f',
    950: '#000000',
  },
}
SCSS
$custom: #7e1b4f;
$custom-light: #a86280;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1b4f",
  "rgb": {
    "r": 126,
    "g": 27,
    "b": 79
  },
  "hsl": {
    "h": 328.485,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.40546,
    "c": 0.14157,
    "h": 353.5
  },
  "luminance": 0.05784
}

Semantic roles & 50–950 ramp

primary
#7E1B4F
secondary
#43B278
accent
#E89040
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7E1B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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