#7E1A4F#7E1A4F

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

Color values

HEX#7E1A4F
RGBrgb(126, 26, 79)
HSLhsl(328, 66%, 30%)
HSVhsv(328, 79%, 49%)
CMYKcmyk(0%, 79.4%, 37.3%, 50.6%)
CIE-LABlab(28.75, 46.16, -6.47)
CIE-LCHlch(28.75, 46.61, 352.03°)
OKLaboklab(40.46% 0.1417 -0.0165)
OKLCHoklch(40.46% 0.143 353.3)
XYZxyz(10.3855, 5.7402, 7.9567)
Luminance0.0574 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1A4F #1A7E49
analogous
#7B1A7E #7E1A4F #7E1A1D
triadic
#7E1A4F #4F7E1A #1A4F7E
tetradic
#7E1A4F #7E7B1A #1A7E49 #1A1D7E
square
#7E1A4F #7E7B1A #1A7E49 #1A1D7E
split-complementary
#7E1A4F #1D7E1A #1A7E7B
monochromatic
#190510 #4B102F #7E1A4F #B1246F #D73C8E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E1A4F#FFFFFF#000000##FFFFFF
##7E1A4F1.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)
#2D3850
Deuteranopia (green-blind)
#4A4A4D
Tritanopia (blue-blind)
#880F32
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1a4f;
/* rgb */ color: rgb(126, 26, 79);
/* oklch */ color: oklch(40.5% 0.143 353.3);
Tailwind
colors: {
  custom: {
    50: '#a86280',
    500: '#7e1a4f',
    950: '#000000',
  },
}
SCSS
$custom: #7e1a4f;
$custom-light: #a86280;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1a4f",
  "rgb": {
    "r": 126,
    "g": 26,
    "b": 79
  },
  "hsl": {
    "h": 328.2,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.4046,
    "c": 0.14266,
    "h": 353.3
  },
  "luminance": 0.05739
}

Semantic roles & 50–950 ramp

primary
#7E1A4F
secondary
#42B277
accent
#E98F3F
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7E1A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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