#7E1D4F#7E1D4F

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

Color values

HEX#7E1D4F
RGBrgb(126, 29, 79)
HSLhsl(329, 63%, 30%)
HSVhsv(329, 77%, 49%)
CMYKcmyk(0%, 77%, 37.3%, 50.6%)
CIE-LABlab(29.11, 45.14, -5.92)
CIE-LCHlch(29.11, 45.53, 352.52°)
OKLaboklab(40.72% 0.1385 -0.0151)
OKLCHoklch(40.72% 0.139 353.8)
XYZxyz(10.4555, 5.8801, 7.9800)
Luminance0.0588 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D4F #1D7E4C
analogous
#7C1D7E #7E1D4F #7E1D1E
triadic
#7E1D4F #4F7E1D #1D4F7E
tetradic
#7E1D4F #7E7C1D #1D7E4C #1D1E7E
square
#7E1D4F #7E7C1D #1D7E4C #1D1E7E
split-complementary
#7E1D4F #1E7E1D #1D7E7C
monochromatic
#1B0611 #4C1230 #7E1D4F #B0286E #D3428D

Accessibility & contrast

On white

9.65
#7E1D4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7E1D4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1D4F
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D4F#FFFFFF#000000##FFFFFF
##7E1D4F1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3950
Deuteranopia (green-blind)
#4A4B4D
Tritanopia (blue-blind)
#881333
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1d4f;
/* rgb */ color: rgb(126, 29, 79);
/* oklch */ color: oklch(40.7% 0.139 353.8);
Tailwind
colors: {
  custom: {
    50: '#a76380',
    500: '#7e1d4f',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d4f;
$custom-light: #a76380;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d4f",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 79
  },
  "hsl": {
    "h": 329.072,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40724,
    "c": 0.13929,
    "h": 353.8
  },
  "luminance": 0.05879
}

Semantic roles & 50–950 ramp

primary
#7E1D4F
secondary
#45B17A
accent
#E69142
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7E1D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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