#7E1554#7E1554

#7E1554 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.3% C 0.150 H 349.7°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#7E1554
RGBrgb(126, 21, 84)
HSLhsl(324, 71%, 29%)
HSVhsv(324, 83%, 49%)
CMYKcmyk(0%, 83.3%, 33.3%, 50.6%)
CIE-LABlab(28.42, 48.26, -10.28)
CIE-LCHlch(28.42, 49.35, 347.98°)
OKLaboklab(40.28% 0.1478 -0.0269)
OKLCHoklch(40.28% 0.15 349.7)
XYZxyz(10.4732, 5.6133, 8.9177)
Luminance0.0561 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1554 #157E3F
analogous
#74157E #7E1554 #7E1520
triadic
#7E1554 #547E15 #15547E
tetradic
#7E1554 #7E7415 #157E3F #15207E
square
#7E1554 #7E7415 #157E3F #15207E
split-complementary
#7E1554 #207E15 #157E74
monochromatic
#1A0411 #4A0C31 #7E1554 #B21E77 #DD3198

Accessibility & contrast

On white

9.89
#7E1554 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7E1554 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1554
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1554#FFFFFF#000000##FFFFFF
##7E15541.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283756
Deuteranopia (green-blind)
#474A52
Tritanopia (blue-blind)
#880C33
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1554;
/* rgb */ color: rgb(126, 21, 84);
/* oklch */ color: oklch(40.3% 0.150 349.7);
Tailwind
colors: {
  custom: {
    50: '#a86084',
    500: '#7e1554',
    950: '#000000',
  },
}
SCSS
$custom: #7e1554;
$custom-light: #a86084;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1554",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 84
  },
  "hsl": {
    "h": 324,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40283,
    "c": 0.15026,
    "h": 349.7
  },
  "luminance": 0.05612
}

Semantic roles & 50–950 ramp

primary
#7E1554
secondary
#3CB36B
accent
#EE823A
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7E1554

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

Preview Lab → · Contrast checker → · Palette generator →

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