#7E1A5D#7E1A5D

#7E1A5D is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.1% C 0.150 H 344.8°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#7E1A5D
RGBrgb(126, 26, 93)
HSLhsl(320, 66%, 30%)
HSVhsv(320, 79%, 49%)
CMYKcmyk(0%, 79.4%, 26.2%, 50.6%)
CIE-LABlab(29.33, 47.92, -14.80)
CIE-LCHlch(29.33, 50.15, 342.84°)
OKLaboklab(41.07% 0.1452 -0.0394)
OKLCHoklch(41.07% 0.15 344.8)
XYZxyz(10.9498, 5.9659, 10.9287)
Luminance0.0597 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1A5D #1A7E3B
analogous
#6D1A7E #7E1A5D #7E1A2B
triadic
#7E1A5D #5D7E1A #1A5D7E
tetradic
#7E1A5D #7E6D1A #1A7E3B #1A2B7E
square
#7E1A5D #7E6D1A #1A7E3B #1A2B7E
split-complementary
#7E1A5D #2B7E1A #1A7E6D
monochromatic
#190513 #4B1038 #7E1A5D #B12482 #D73CA4

Accessibility & contrast

On white

9.58
#7E1A5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7E1A5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1A5D
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1A5D#FFFFFF#000000##FFFFFF
##7E1A5D1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273A5F
Deuteranopia (green-blind)
#464B5B
Tritanopia (blue-blind)
#871839
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1a5d;
/* rgb */ color: rgb(126, 26, 93);
/* oklch */ color: oklch(41.1% 0.150 344.8);
Tailwind
colors: {
  custom: {
    50: '#a7628b',
    500: '#7e1a5d',
    950: '#000000',
  },
}
SCSS
$custom: #7e1a5d;
$custom-light: #a7628b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1a5d",
  "rgb": {
    "r": 126,
    "g": 26,
    "b": 93
  },
  "hsl": {
    "h": 319.8,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41071,
    "c": 0.15045,
    "h": 344.8
  },
  "luminance": 0.05965
}

Semantic roles & 50–950 ramp

primary
#7E1A5D
secondary
#42B267
accent
#E9773F
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E1A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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