#7E1151#7E1151

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

Color values

HEX#7E1151
RGBrgb(126, 17, 81)
HSLhsl(325, 76%, 28%)
HSVhsv(325, 87%, 49%)
CMYKcmyk(0%, 86.5%, 35.7%, 50.6%)
CIE-LABlab(27.93, 48.95, -9.02)
CIE-LCHlch(27.93, 49.77, 349.56°)
OKLaboklab(39.89% 0.1504 -0.0234)
OKLCHoklch(39.89% 0.152 351.1)
XYZxyz(10.2905, 5.4319, 8.2895)
Luminance0.0543 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1151 #117E3E
analogous
#74117E #7E1151 #7E111A
triadic
#7E1151 #517E11 #11517E
tetradic
#7E1151 #7E7411 #117E3E #111A7E
square
#7E1151 #7E7411 #117E3E #111A7E
split-complementary
#7E1151 #1A7E11 #117E74
monochromatic
#1B0411 #480A2E #7E1151 #B41874 #E22795

Accessibility & contrast

On white

10.07
#7E1151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7E1151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1151
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1151#FFFFFF#000000##FFFFFF
##7E11511.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1151;
/* rgb */ color: rgb(126, 17, 81);
/* oklch */ color: oklch(39.9% 0.152 351.1);
Tailwind
colors: {
  custom: {
    50: '#a85f81',
    500: '#7e1151',
    950: '#000000',
  },
}
SCSS
$custom: #7e1151;
$custom-light: #a85f81;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1151",
  "rgb": {
    "r": 126,
    "g": 17,
    "b": 81
  },
  "hsl": {
    "h": 324.771,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39892,
    "c": 0.15217,
    "h": 351.1
  },
  "luminance": 0.05431
}

Semantic roles & 50–950 ramp

primary
#7E1151
secondary
#37B46A
accent
#F38335
background
#FAF5F7
surface
#F4EAEE
border
#CEC6C9
text
#10050A
muted
#7F797C

Preview Lab

Preview with #7E1151

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

Preview Lab → · Contrast checker → · Palette generator →

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