#7E1D47#7E1D47

#7E1D47 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.4% C 0.136 H 359.1°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#7E1D47
RGBrgb(126, 29, 71)
HSLhsl(334, 63%, 30%)
HSVhsv(334, 77%, 49%)
CMYKcmyk(0%, 77%, 43.7%, 50.6%)
CIE-LABlab(28.83, 44.25, -1.03)
CIE-LCHlch(28.83, 44.26, 358.67°)
OKLaboklab(40.42% 0.1359 -0.0022)
OKLCHoklch(40.42% 0.136 359.1)
XYZxyz(10.1816, 5.7706, 6.5377)
Luminance0.0577 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D47 #1D7E54
analogous
#7E1D77 #7E1D47 #7E241D
triadic
#7E1D47 #477E1D #1D477E
tetradic
#7E1D47 #777E1D #1D7E54 #241D7E
square
#7E1D47 #777E1D #1D7E54 #241D7E
split-complementary
#7E1D47 #1D7E24 #1D777E
monochromatic
#1B060F #4C122B #7E1D47 #B02863 #D34281

Accessibility & contrast

On white

9.75
#7E1D47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1D47
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D47#FFFFFF#000000##FFFFFF
##7E1D471.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323848
Deuteranopia (green-blind)
#4C4B45
Tritanopia (blue-blind)
#890E2F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1d47;
/* rgb */ color: rgb(126, 29, 71);
/* oklch */ color: oklch(40.4% 0.136 359.1);
Tailwind
colors: {
  custom: {
    50: '#a8637a',
    500: '#7e1d47',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d47;
$custom-light: #a8637a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d47",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 71
  },
  "hsl": {
    "h": 334.021,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40425,
    "c": 0.13587,
    "h": 359.1
  },
  "luminance": 0.05769
}

Semantic roles & 50–950 ramp

primary
#7E1D47
secondary
#45B183
accent
#E69F42
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7E1D47

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

Preview Lab → · Contrast checker → · Palette generator →

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