#7E1056#7E1056

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

Color values

HEX#7E1056
RGBrgb(126, 16, 86)
HSLhsl(322, 77%, 28%)
HSVhsv(322, 87%, 49%)
CMYKcmyk(0%, 87.3%, 31.7%, 50.6%)
CIE-LABlab(28.06, 49.77, -12.14)
CIE-LCHlch(28.06, 51.23, 346.29°)
OKLaboklab(40.05% 0.1523 -0.032)
OKLCHoklch(40.05% 0.156 348.1)
XYZxyz(10.4698, 5.4794, 9.3086)
Luminance0.0548 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1056 #107E38
analogous
#6F107E #7E1056 #7E101F
triadic
#7E1056 #567E10 #10567E
tetradic
#7E1056 #7E6F10 #107E38 #101F7E
square
#7E1056 #7E6F10 #107E38 #101F7E
split-complementary
#7E1056 #1F7E10 #107E6F
monochromatic
#1B0313 #480931 #7E1056 #B4177B #E3259E

Accessibility & contrast

On white

10.02
#7E1056 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1056
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1056#FFFFFF#000000##FFFFFF
##7E10561.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253658
Deuteranopia (green-blind)
#454954
Tritanopia (blue-blind)
#880733
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1056;
/* rgb */ color: rgb(126, 16, 86);
/* oklch */ color: oklch(40.1% 0.156 348.1);
Tailwind
colors: {
  custom: {
    50: '#a85f85',
    500: '#7e1056',
    950: '#000000',
  },
}
SCSS
$custom: #7e1056;
$custom-light: #a85f85;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1056",
  "rgb": {
    "r": 126,
    "g": 16,
    "b": 86
  },
  "hsl": {
    "h": 321.818,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40053,
    "c": 0.15563,
    "h": 348.1
  },
  "luminance": 0.05478
}

Semantic roles & 50–950 ramp

primary
#7E1056
secondary
#36B464
accent
#F47A34
background
#FAF5F8
surface
#F4EAEF
border
#CEC6CA
text
#10050B
muted
#7F797C

Preview Lab

Preview with #7E1056

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

Preview Lab → · Contrast checker → · Palette generator →

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