#7E1A48#7E1A48

#7E1A48 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.2% C 0.140 H 357.9°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#7E1A48
RGBrgb(126, 26, 72)
HSLhsl(332, 66%, 30%)
HSVhsv(332, 79%, 49%)
CMYKcmyk(0%, 79.4%, 42.9%, 50.6%)
CIE-LABlab(28.49, 45.38, -2.18)
CIE-LCHlch(28.49, 45.43, 357.24°)
OKLaboklab(40.19% 0.1395 -0.0052)
OKLCHoklch(40.19% 0.14 357.9)
XYZxyz(10.1440, 5.6436, 6.6848)
Luminance0.0564 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1A48 #1A7E50
analogous
#7E1A7A #7E1A48 #7E1E1A
triadic
#7E1A48 #487E1A #1A487E
tetradic
#7E1A48 #7A7E1A #1A7E50 #1E1A7E
square
#7E1A48 #7A7E1A #1A7E50 #1E1A7E
split-complementary
#7E1A48 #1A7E1E #1A7A7E
monochromatic
#19050E #4B102B #7E1A48 #B12465 #D73C83

Accessibility & contrast

On white

9.87
#7E1A48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7E1A48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1A48
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1A48#FFFFFF#000000##FFFFFF
##7E1A481.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303749
Deuteranopia (green-blind)
#4B4A46
Tritanopia (blue-blind)
#89092E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1a48;
/* rgb */ color: rgb(126, 26, 72);
/* oklch */ color: oklch(40.2% 0.140 357.9);
Tailwind
colors: {
  custom: {
    50: '#a8617a',
    500: '#7e1a48',
    950: '#000000',
  },
}
SCSS
$custom: #7e1a48;
$custom-light: #a8617a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1a48",
  "rgb": {
    "r": 126,
    "g": 26,
    "b": 72
  },
  "hsl": {
    "h": 332.4,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40193,
    "c": 0.13958,
    "h": 357.9
  },
  "luminance": 0.05642
}

Semantic roles & 50–950 ramp

primary
#7E1A48
secondary
#42B27E
accent
#E99B3F
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7E1A48

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

Preview Lab → · Contrast checker → · Palette generator →

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