#7E1357#7E1357

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

Color values

HEX#7E1357
RGBrgb(126, 19, 87)
HSLhsl(322, 74%, 28%)
HSVhsv(322, 85%, 49%)
CMYKcmyk(0%, 84.9%, 31%, 50.6%)
CIE-LABlab(28.36, 49.17, -12.35)
CIE-LCHlch(28.36, 50.69, 345.90°)
OKLaboklab(40.28% 0.1502 -0.0326)
OKLCHoklch(40.28% 0.154 347.8)
XYZxyz(10.5579, 5.5907, 9.5381)
Luminance0.0559 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1357 #137E3A
analogous
#6F137E #7E1357 #7E1321
triadic
#7E1357 #577E13 #13577E
tetradic
#7E1357 #7E6F13 #137E3A #13217E
square
#7E1357 #7E6F13 #137E3A #13217E
split-complementary
#7E1357 #217E13 #137E6F
monochromatic
#1B0412 #490B32 #7E1357 #B31B7C #DF2C9E

Accessibility & contrast

On white

9.92
#7E1357 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1357
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1357#FFFFFF#000000##FFFFFF
##7E13571.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263759
Deuteranopia (green-blind)
#464955
Tritanopia (blue-blind)
#880C34
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1357;
/* rgb */ color: rgb(126, 19, 87);
/* oklch */ color: oklch(40.3% 0.154 347.8);
Tailwind
colors: {
  custom: {
    50: '#a86086',
    500: '#7e1357',
    950: '#000000',
  },
}
SCSS
$custom: #7e1357;
$custom-light: #a86086;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1357",
  "rgb": {
    "r": 126,
    "g": 19,
    "b": 87
  },
  "hsl": {
    "h": 321.869,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40281,
    "c": 0.15372,
    "h": 347.8
  },
  "luminance": 0.05589
}

Semantic roles & 50–950 ramp

primary
#7E1357
secondary
#39B466
accent
#F07B37
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7E1357

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

Preview Lab → · Contrast checker → · Palette generator →

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