#7E1155#7E1155

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

Color values

HEX#7E1155
RGBrgb(126, 17, 85)
HSLhsl(323, 76%, 28%)
HSVhsv(323, 87%, 49%)
CMYKcmyk(0%, 86.5%, 32.5%, 50.6%)
CIE-LABlab(28.10, 49.42, -11.42)
CIE-LCHlch(28.10, 50.72, 346.99°)
OKLaboklab(40.07% 0.1513 -0.03)
OKLCHoklch(40.07% 0.154 348.8)
XYZxyz(10.4449, 5.4937, 9.1029)
Luminance0.0549 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1155 #117E3A
analogous
#70117E #7E1155 #7E111E
triadic
#7E1155 #557E11 #11557E
tetradic
#7E1155 #7E7011 #117E3A #111E7E
square
#7E1155 #7E7011 #117E3A #111E7E
split-complementary
#7E1155 #1E7E11 #117E70
monochromatic
#1B0412 #480A31 #7E1155 #B41879 #E2279C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E1155#FFFFFF#000000##FFFFFF
##7E11551.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)
#263657
Deuteranopia (green-blind)
#464953
Tritanopia (blue-blind)
#880732
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1155;
/* rgb */ color: rgb(126, 17, 85);
/* oklch */ color: oklch(40.1% 0.154 348.8);
Tailwind
colors: {
  custom: {
    50: '#a85f85',
    500: '#7e1155',
    950: '#000000',
  },
}
SCSS
$custom: #7e1155;
$custom-light: #a85f85;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1155",
  "rgb": {
    "r": 126,
    "g": 17,
    "b": 85
  },
  "hsl": {
    "h": 322.569,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40066,
    "c": 0.15428,
    "h": 348.8
  },
  "luminance": 0.05492
}

Semantic roles & 50–950 ramp

primary
#7E1155
secondary
#37B466
accent
#F37C35
background
#FAF5F8
surface
#F4EAEF
border
#CEC6CA
text
#10050B
muted
#7F797C

Preview Lab

Preview with #7E1155

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

Preview Lab → · Contrast checker → · Palette generator →

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