#7E1057#7E1057

#7E1057 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.1% C 0.156 H 347.6°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#7E1057
RGBrgb(126, 16, 87)
HSLhsl(321, 77%, 28%)
HSVhsv(321, 87%, 49%)
CMYKcmyk(0%, 87.3%, 31%, 50.6%)
CIE-LABlab(28.10, 49.89, -12.74)
CIE-LCHlch(28.10, 51.49, 345.68°)
OKLaboklab(40.1% 0.1525 -0.0336)
OKLCHoklch(40.1% 0.156 347.6)
XYZxyz(10.5103, 5.4956, 9.5222)
Luminance0.0549 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1057 #107E37
analogous
#6E107E #7E1057 #7E1020
triadic
#7E1057 #577E10 #10577E
tetradic
#7E1057 #7E6E10 #107E37 #10207E
square
#7E1057 #7E6E10 #107E37 #10207E
split-complementary
#7E1057 #207E10 #107E6E
monochromatic
#1B0313 #480932 #7E1057 #B4177C #E325A0

Accessibility & contrast

On white

10.01
#7E1057 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7E1057 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1057
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1057#FFFFFF#000000##FFFFFF
##7E10571.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243659
Deuteranopia (green-blind)
#454955
Tritanopia (blue-blind)
#880833
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1057;
/* rgb */ color: rgb(126, 16, 87);
/* oklch */ color: oklch(40.1% 0.156 347.6);
Tailwind
colors: {
  custom: {
    50: '#a85f86',
    500: '#7e1057',
    950: '#000000',
  },
}
SCSS
$custom: #7e1057;
$custom-light: #a85f86;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1057",
  "rgb": {
    "r": 126,
    "g": 16,
    "b": 87
  },
  "hsl": {
    "h": 321.273,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40098,
    "c": 0.15618,
    "h": 347.6
  },
  "luminance": 0.05494
}

Semantic roles & 50–950 ramp

primary
#7E1057
secondary
#36B462
accent
#F47834
background
#FAF5F8
surface
#F4EAEF
border
#CEC6CA
text
#10050B
muted
#7F797C

Preview Lab

Preview with #7E1057

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

Preview Lab → · Contrast checker → · Palette generator →

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