#7E1A4C#7E1A4C

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

Color values

HEX#7E1A4C
RGBrgb(126, 26, 76)
HSLhsl(330, 66%, 30%)
HSVhsv(330, 79%, 49%)
CMYKcmyk(0%, 79.4%, 39.7%, 50.6%)
CIE-LABlab(28.64, 45.82, -4.64)
CIE-LCHlch(28.64, 46.05, 354.22°)
OKLaboklab(40.34% 0.1408 -0.0116)
OKLCHoklch(40.34% 0.141 355.3)
XYZxyz(10.2788, 5.6975, 7.3945)
Luminance0.0570 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1A4C #1A7E4C
analogous
#7E1A7E #7E1A4C #7E1A1A
triadic
#7E1A4C #4C7E1A #1A4C7E
tetradic
#7E1A4C #7E7E1A #1A7E4C #1A1A7E
square
#7E1A4C #7E7E1A #1A7E4C #1A1A7E
split-complementary
#7E1A4C #1A7E1A #1A7E7E
monochromatic
#19050F #4B102D #7E1A4C #B1246B #D73C89

Accessibility & contrast

On white

9.82
#7E1A4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1A4C
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1A4C#FFFFFF#000000##FFFFFF
##7E1A4C1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E384D
Deuteranopia (green-blind)
#4A4A4A
Tritanopia (blue-blind)
#890D30
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1a4c;
/* rgb */ color: rgb(126, 26, 76);
/* oklch */ color: oklch(40.3% 0.141 355.3);
Tailwind
colors: {
  custom: {
    50: '#a8627e',
    500: '#7e1a4c',
    950: '#000000',
  },
}
SCSS
$custom: #7e1a4c;
$custom-light: #a8627e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1a4c",
  "rgb": {
    "r": 126,
    "g": 26,
    "b": 76
  },
  "hsl": {
    "h": 330,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40343,
    "c": 0.14127,
    "h": 355.3
  },
  "luminance": 0.05696
}

Semantic roles & 50–950 ramp

primary
#7E1A4C
secondary
#42B27A
accent
#E9943F
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7E1A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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