#7E1051#7E1051

#7E1051 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.8% C 0.153 H 351.1°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#7E1051
RGBrgb(126, 16, 81)
HSLhsl(325, 77%, 28%)
HSVhsv(325, 87%, 49%)
CMYKcmyk(0%, 87.3%, 35.7%, 50.6%)
CIE-LABlab(27.85, 49.18, -9.15)
CIE-LCHlch(27.85, 50.03, 349.47°)
OKLaboklab(39.83% 0.1511 -0.0237)
OKLCHoklch(39.83% 0.153 351.1)
XYZxyz(10.2753, 5.4016, 8.2845)
Luminance0.0540 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1051 #107E3D
analogous
#74107E #7E1051 #7E101A
triadic
#7E1051 #517E10 #10517E
tetradic
#7E1051 #7E7410 #107E3D #101A7E
square
#7E1051 #7E7410 #107E3D #101A7E
split-complementary
#7E1051 #1A7E10 #107E74
monochromatic
#1B0311 #48092E #7E1051 #B41774 #E32595

Accessibility & contrast

On white

10.10
#7E1051 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7E1051 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1051
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1051#FFFFFF#000000##FFFFFF
##7E10511.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273553
Deuteranopia (green-blind)
#47494F
Tritanopia (blue-blind)
#880230
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1051;
/* rgb */ color: rgb(126, 16, 81);
/* oklch */ color: oklch(39.8% 0.153 351.1);
Tailwind
colors: {
  custom: {
    50: '#a85e81',
    500: '#7e1051',
    950: '#000000',
  },
}
SCSS
$custom: #7e1051;
$custom-light: #a85e81;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1051",
  "rgb": {
    "r": 126,
    "g": 16,
    "b": 81
  },
  "hsl": {
    "h": 324.545,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.39833,
    "c": 0.15297,
    "h": 351.1
  },
  "luminance": 0.054
}

Semantic roles & 50–950 ramp

primary
#7E1051
secondary
#36B469
accent
#F48234
background
#FAF5F7
surface
#F4EAEE
border
#CEC6C9
text
#10050A
muted
#7F797C

Preview Lab

Preview with #7E1051

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

Preview Lab → · Contrast checker → · Palette generator →

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