#7E1A5F#7E1A5F

#7E1A5F is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.2% C 0.152 H 343.7°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#7E1A5F
RGBrgb(126, 26, 95)
HSLhsl(319, 66%, 30%)
HSVhsv(319, 79%, 49%)
CMYKcmyk(0%, 79.4%, 24.6%, 50.6%)
CIE-LABlab(29.42, 48.19, -15.96)
CIE-LCHlch(29.42, 50.77, 341.67°)
OKLaboklab(41.17% 0.1456 -0.0427)
OKLCHoklch(41.17% 0.152 343.7)
XYZxyz(11.0396, 6.0018, 11.4013)
Luminance0.0600 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1A5F #1A7E39
analogous
#6B1A7E #7E1A5F #7E1A2D
triadic
#7E1A5F #5F7E1A #1A5F7E
tetradic
#7E1A5F #7E6B1A #1A7E39 #1A2D7E
square
#7E1A5F #7E6B1A #1A7E39 #1A2D7E
split-complementary
#7E1A5F #2D7E1A #1A7E6B
monochromatic
#190513 #4B1039 #7E1A5F #B12485 #D73CA7

Accessibility & contrast

On white

9.54
#7E1A5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7E1A5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1A5F
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1A5F#FFFFFF#000000##FFFFFF
##7E1A5F1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263B61
Deuteranopia (green-blind)
#454B5D
Tritanopia (blue-blind)
#871A3A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1a5f;
/* rgb */ color: rgb(126, 26, 95);
/* oklch */ color: oklch(41.2% 0.152 343.7);
Tailwind
colors: {
  custom: {
    50: '#a7628c',
    500: '#7e1a5f',
    950: '#000000',
  },
}
SCSS
$custom: #7e1a5f;
$custom-light: #a7628c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1a5f",
  "rgb": {
    "r": 126,
    "g": 26,
    "b": 95
  },
  "hsl": {
    "h": 318.6,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41167,
    "c": 0.1517,
    "h": 343.7
  },
  "luminance": 0.06001
}

Semantic roles & 50–950 ramp

primary
#7E1A5F
secondary
#42B265
accent
#E9743F
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E1A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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