#7E1B4C#7E1B4C

#7E1B4C is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.4% C 0.140 H 355.4°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#7E1B4C
RGBrgb(126, 27, 76)
HSLhsl(330, 65%, 30%)
HSVhsv(330, 79%, 49%)
CMYKcmyk(0%, 78.6%, 39.7%, 50.6%)
CIE-LABlab(28.75, 45.49, -4.46)
CIE-LCHlch(28.75, 45.71, 354.39°)
OKLaboklab(40.43% 0.1397 -0.0112)
OKLCHoklch(40.43% 0.14 355.4)
XYZxyz(10.3013, 5.7426, 7.4020)
Luminance0.0574 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1B4C #1B7E4D
analogous
#7E1B7E #7E1B4C #7E1B1B
triadic
#7E1B4C #4C7E1B #1B4C7E
tetradic
#7E1B4C #7E7E1B #1B7E4D #1B1B7E
square
#7E1B4C #7E7E1B #1B7E4D #1B1B7E
split-complementary
#7E1B4C #1B7E1B #1B7E7E
monochromatic
#19050F #4C102E #7E1B4C #B0266A #D63E89

Accessibility & contrast

On white

9.78
#7E1B4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1B4C
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1B4C#FFFFFF#000000##FFFFFF
##7E1B4C1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F384D
Deuteranopia (green-blind)
#4B4A4A
Tritanopia (blue-blind)
#890E31
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1b4c;
/* rgb */ color: rgb(126, 27, 76);
/* oklch */ color: oklch(40.4% 0.140 355.4);
Tailwind
colors: {
  custom: {
    50: '#a8627e',
    500: '#7e1b4c',
    950: '#000000',
  },
}
SCSS
$custom: #7e1b4c;
$custom-light: #a8627e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1b4c",
  "rgb": {
    "r": 126,
    "g": 27,
    "b": 76
  },
  "hsl": {
    "h": 330.303,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.40429,
    "c": 0.14018,
    "h": 355.4
  },
  "luminance": 0.05741
}

Semantic roles & 50–950 ramp

primary
#7E1B4C
secondary
#43B27B
accent
#E89540
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7E1B4C

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

Preview Lab → · Contrast checker → · Palette generator →

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