#7E1D4E#7E1D4E

#7E1D4E is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.7% C 0.139 H 354.4°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#7E1D4E
RGBrgb(126, 29, 78)
HSLhsl(330, 63%, 30%)
HSVhsv(330, 77%, 49%)
CMYKcmyk(0%, 77%, 38.1%, 50.6%)
CIE-LABlab(29.07, 45.03, -5.32)
CIE-LCHlch(29.07, 45.34, 353.26°)
OKLaboklab(40.69% 0.1382 -0.0135)
OKLCHoklch(40.69% 0.139 354.4)
XYZxyz(10.4194, 5.8657, 7.7897)
Luminance0.0586 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D4E #1D7E4D
analogous
#7E1D7E #7E1D4E #7E1D1D
triadic
#7E1D4E #4E7E1D #1D4E7E
tetradic
#7E1D4E #7E7E1D #1D7E4D #1D1D7E
square
#7E1D4E #7E7E1D #1D7E4D #1D1D7E
split-complementary
#7E1D4E #1D7E1D #1D7E7E
monochromatic
#1B0610 #4C122F #7E1D4E #B0286D #D3428B

Accessibility & contrast

On white

9.66
#7E1D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7E1D4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1D4E
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D4E#FFFFFF#000000##FFFFFF
##7E1D4E1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30394F
Deuteranopia (green-blind)
#4B4B4C
Tritanopia (blue-blind)
#881333
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1d4e;
/* rgb */ color: rgb(126, 29, 78);
/* oklch */ color: oklch(40.7% 0.139 354.4);
Tailwind
colors: {
  custom: {
    50: '#a8637f',
    500: '#7e1d4e',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d4e;
$custom-light: #a8637f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d4e",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 78
  },
  "hsl": {
    "h": 329.691,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40685,
    "c": 0.13883,
    "h": 354.4
  },
  "luminance": 0.05864
}

Semantic roles & 50–950 ramp

primary
#7E1D4E
secondary
#45B17B
accent
#E69342
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7E1D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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