#7E1150#7E1150

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

Color values

HEX#7E1150
RGBrgb(126, 17, 80)
HSLhsl(325, 76%, 28%)
HSVhsv(325, 87%, 49%)
CMYKcmyk(0%, 86.5%, 36.5%, 50.6%)
CIE-LABlab(27.89, 48.83, -8.42)
CIE-LCHlch(27.89, 49.55, 350.22°)
OKLaboklab(39.85% 0.1501 -0.0218)
OKLCHoklch(39.85% 0.152 351.7)
XYZxyz(10.2533, 5.4170, 8.0935)
Luminance0.0542 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1150 #117E3F
analogous
#75117E #7E1150 #7E1119
triadic
#7E1150 #507E11 #11507E
tetradic
#7E1150 #7E7511 #117E3F #11197E
square
#7E1150 #7E7511 #117E3F #11197E
split-complementary
#7E1150 #197E11 #117E75
monochromatic
#1B0411 #480A2E #7E1150 #B41872 #E22793

Accessibility & contrast

On white

10.08
#7E1150 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1150
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1150#FFFFFF#000000##FFFFFF
##7E11501.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1150;
/* rgb */ color: rgb(126, 17, 80);
/* oklch */ color: oklch(39.9% 0.152 351.7);
Tailwind
colors: {
  custom: {
    50: '#a85f81',
    500: '#7e1150',
    950: '#000000',
  },
}
SCSS
$custom: #7e1150;
$custom-light: #a85f81;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1150",
  "rgb": {
    "r": 126,
    "g": 17,
    "b": 80
  },
  "hsl": {
    "h": 325.321,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3985,
    "c": 0.15167,
    "h": 351.7
  },
  "luminance": 0.05416
}

Semantic roles & 50–950 ramp

primary
#7E1150
secondary
#37B46C
accent
#F38535
background
#FAF5F7
surface
#F4EAEE
border
#CEC6C9
text
#10050A
muted
#7F797C

Preview Lab

Preview with #7E1150

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

Preview Lab → · Contrast checker → · Palette generator →

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