#7E1A4B#7E1A4B

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

Color values

HEX#7E1A4B
RGBrgb(126, 26, 75)
HSLhsl(331, 66%, 30%)
HSVhsv(331, 79%, 49%)
CMYKcmyk(0%, 79.4%, 40.5%, 50.6%)
CIE-LABlab(28.60, 45.71, -4.03)
CIE-LCHlch(28.60, 45.88, 354.96°)
OKLaboklab(40.3% 0.1405 -0.01)
OKLCHoklch(40.3% 0.141 355.9)
XYZxyz(10.2443, 5.6837, 7.2128)
Luminance0.0568 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1A4B #1A7E4D
analogous
#7E1A7D #7E1A4B #7E1B1A
triadic
#7E1A4B #4B7E1A #1A4B7E
tetradic
#7E1A4B #7D7E1A #1A7E4D #1B1A7E
square
#7E1A4B #7D7E1A #1A7E4D #1B1A7E
split-complementary
#7E1A4B #1A7E1B #1A7D7E
monochromatic
#19050F #4B102D #7E1A4B #B12469 #D73C88

Accessibility & contrast

On white

9.83
#7E1A4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1A4B
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1A4B#FFFFFF#000000##FFFFFF
##7E1A4B1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F384C
Deuteranopia (green-blind)
#4B4A49
Tritanopia (blue-blind)
#890C30
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1a4b;
/* rgb */ color: rgb(126, 26, 75);
/* oklch */ color: oklch(40.3% 0.141 355.9);
Tailwind
colors: {
  custom: {
    50: '#a8627d',
    500: '#7e1a4b',
    950: '#000000',
  },
}
SCSS
$custom: #7e1a4b;
$custom-light: #a8627d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1a4b",
  "rgb": {
    "r": 126,
    "g": 26,
    "b": 75
  },
  "hsl": {
    "h": 330.6,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40304,
    "c": 0.14083,
    "h": 355.9
  },
  "luminance": 0.05682
}

Semantic roles & 50–950 ramp

primary
#7E1A4B
secondary
#42B27B
accent
#E9963F
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7E1A4B

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

Preview Lab → · Contrast checker → · Palette generator →

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