#7E1B49#7E1B49

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

Color values

HEX#7E1B49
RGBrgb(126, 27, 73)
HSLhsl(332, 65%, 30%)
HSVhsv(332, 79%, 49%)
CMYKcmyk(0%, 78.6%, 42.1%, 50.6%)
CIE-LABlab(28.65, 45.16, -2.63)
CIE-LCHlch(28.65, 45.23, 356.67°)
OKLaboklab(40.32% 0.1388 -0.0063)
OKLCHoklch(40.32% 0.139 357.4)
XYZxyz(10.1994, 5.7018, 6.8655)
Luminance0.0570 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1B49 #1B7E50
analogous
#7E1B7B #7E1B49 #7E1E1B
triadic
#7E1B49 #497E1B #1B497E
tetradic
#7E1B49 #7B7E1B #1B7E50 #1E1B7E
square
#7E1B49 #7B7E1B #1B7E50 #1E1B7E
split-complementary
#7E1B49 #1B7E1E #1B7B7E
monochromatic
#19050F #4C102C #7E1B49 #B02666 #D63E84

Accessibility & contrast

On white

9.81
#7E1B49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7E1B49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1B49
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1B49#FFFFFF#000000##FFFFFF
##7E1B491.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30384A
Deuteranopia (green-blind)
#4B4A47
Tritanopia (blue-blind)
#890C2F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1b49;
/* rgb */ color: rgb(126, 27, 73);
/* oklch */ color: oklch(40.3% 0.139 357.4);
Tailwind
colors: {
  custom: {
    50: '#a8627b',
    500: '#7e1b49',
    950: '#000000',
  },
}
SCSS
$custom: #7e1b49;
$custom-light: #a8627b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1b49",
  "rgb": {
    "r": 126,
    "g": 27,
    "b": 73
  },
  "hsl": {
    "h": 332.121,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.40316,
    "c": 0.13889,
    "h": 357.4
  },
  "luminance": 0.05701
}

Semantic roles & 50–950 ramp

primary
#7E1B49
secondary
#43B27E
accent
#E89A40
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7E1B49

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

Preview Lab → · Contrast checker → · Palette generator →

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