#7E1556#7E1556

#7E1556 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.4% C 0.151 H 348.5°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#7E1556
RGBrgb(126, 21, 86)
HSLhsl(323, 71%, 29%)
HSVhsv(323, 83%, 49%)
CMYKcmyk(0%, 83.3%, 31.7%, 50.6%)
CIE-LABlab(28.50, 48.51, -11.47)
CIE-LCHlch(28.50, 49.85, 346.70°)
OKLaboklab(40.37% 0.1483 -0.0301)
OKLCHoklch(40.37% 0.151 348.5)
XYZxyz(10.5526, 5.6451, 9.3362)
Luminance0.0564 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1556 #157E3D
analogous
#72157E #7E1556 #7E1522
triadic
#7E1556 #567E15 #15567E
tetradic
#7E1556 #7E7215 #157E3D #15227E
square
#7E1556 #7E7215 #157E3D #15227E
split-complementary
#7E1556 #227E15 #157E72
monochromatic
#1A0412 #4A0C32 #7E1556 #B21E7A #DD319B

Accessibility & contrast

On white

9.86
#7E1556 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7E1556 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1556
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1556#FFFFFF#000000##FFFFFF
##7E15561.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273858
Deuteranopia (green-blind)
#464A54
Tritanopia (blue-blind)
#880E34
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1556;
/* rgb */ color: rgb(126, 21, 86);
/* oklch */ color: oklch(40.4% 0.151 348.5);
Tailwind
colors: {
  custom: {
    50: '#a86085',
    500: '#7e1556',
    950: '#000000',
  },
}
SCSS
$custom: #7e1556;
$custom-light: #a86085;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1556",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 86
  },
  "hsl": {
    "h": 322.857,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40371,
    "c": 0.15135,
    "h": 348.5
  },
  "luminance": 0.05644
}

Semantic roles & 50–950 ramp

primary
#7E1556
secondary
#3CB369
accent
#EE7E3A
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7E1556

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

Preview Lab → · Contrast checker → · Palette generator →

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