#7E1356#7E1356

#7E1356 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.2% C 0.153 H 348.4°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#7E1356
RGBrgb(126, 19, 86)
HSLhsl(322, 74%, 28%)
HSVhsv(322, 85%, 49%)
CMYKcmyk(0%, 84.9%, 31.7%, 50.6%)
CIE-LABlab(28.31, 49.04, -11.75)
CIE-LCHlch(28.31, 50.43, 346.52°)
OKLaboklab(40.24% 0.15 -0.0309)
OKLCHoklch(40.24% 0.153 348.4)
XYZxyz(10.5174, 5.5745, 9.3244)
Luminance0.0557 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1356 #137E3B
analogous
#70137E #7E1356 #7E1320
triadic
#7E1356 #567E13 #13567E
tetradic
#7E1356 #7E7013 #137E3B #13207E
square
#7E1356 #7E7013 #137E3B #13207E
split-complementary
#7E1356 #207E13 #137E70
monochromatic
#1B0412 #490B32 #7E1356 #B31B7A #DF2C9C

Accessibility & contrast

On white

9.93
#7E1356 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7E1356 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1356
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1356#FFFFFF#000000##FFFFFF
##7E13561.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263758
Deuteranopia (green-blind)
#464954
Tritanopia (blue-blind)
#880B34
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1356;
/* rgb */ color: rgb(126, 19, 86);
/* oklch */ color: oklch(40.2% 0.153 348.4);
Tailwind
colors: {
  custom: {
    50: '#a86085',
    500: '#7e1356',
    950: '#000000',
  },
}
SCSS
$custom: #7e1356;
$custom-light: #a86085;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1356",
  "rgb": {
    "r": 126,
    "g": 19,
    "b": 86
  },
  "hsl": {
    "h": 322.43,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40236,
    "c": 0.15316,
    "h": 348.4
  },
  "luminance": 0.05573
}

Semantic roles & 50–950 ramp

primary
#7E1356
secondary
#39B467
accent
#F07D37
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7E1356

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

Preview Lab → · Contrast checker → · Palette generator →

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