#7E1D48#7E1D48

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

Color values

HEX#7E1D48
RGBrgb(126, 29, 72)
HSLhsl(333, 63%, 30%)
HSVhsv(333, 77%, 49%)
CMYKcmyk(0%, 77%, 42.9%, 50.6%)
CIE-LABlab(28.86, 44.35, -1.65)
CIE-LCHlch(28.86, 44.39, 357.87°)
OKLaboklab(40.46% 0.1362 -0.0038)
OKLCHoklch(40.46% 0.136 358.4)
XYZxyz(10.2140, 5.7835, 6.7081)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D48 #1D7E53
analogous
#7E1D78 #7E1D48 #7E221D
triadic
#7E1D48 #487E1D #1D487E
tetradic
#7E1D48 #787E1D #1D7E53 #221D7E
square
#7E1D48 #787E1D #1D7E53 #221D7E
split-complementary
#7E1D48 #1D7E22 #1D787E
monochromatic
#1B060F #4C122C #7E1D48 #B02864 #D34282

Accessibility & contrast

On white

9.74
#7E1D48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7E1D48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1D48
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D48#FFFFFF#000000##FFFFFF
##7E1D481.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323849
Deuteranopia (green-blind)
#4C4B46
Tritanopia (blue-blind)
#890F30
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1d48;
/* rgb */ color: rgb(126, 29, 72);
/* oklch */ color: oklch(40.5% 0.136 358.4);
Tailwind
colors: {
  custom: {
    50: '#a8637a',
    500: '#7e1d48',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d48;
$custom-light: #a8637a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d48",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 72
  },
  "hsl": {
    "h": 333.402,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40461,
    "c": 0.13624,
    "h": 358.4
  },
  "luminance": 0.05782
}

Semantic roles & 50–950 ramp

primary
#7E1D48
secondary
#45B182
accent
#E69D42
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7E1D48

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

Preview Lab → · Contrast checker → · Palette generator →

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