#7E115A#7E115A

#7E115A is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.3% C 0.157 H 345.9°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#7E115A
RGBrgb(126, 17, 90)
HSLhsl(320, 76%, 28%)
HSVhsv(320, 87%, 49%)
CMYKcmyk(0%, 86.5%, 28.6%, 50.6%)
CIE-LABlab(28.32, 50.04, -14.38)
CIE-LCHlch(28.32, 52.06, 343.96°)
OKLaboklab(40.3% 0.1524 -0.0382)
OKLCHoklch(40.3% 0.157 345.9)
XYZxyz(10.6506, 5.5759, 10.1863)
Luminance0.0558 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E115A #117E35
analogous
#6C117E #7E115A #7E1123
triadic
#7E115A #5A7E11 #115A7E
tetradic
#7E115A #7E6C11 #117E35 #11237E
square
#7E115A #7E6C11 #117E35 #11237E
split-complementary
#7E115A #237E11 #117E6C
monochromatic
#1B0413 #480A33 #7E115A #B41881 #E227A4

Accessibility & contrast

On white

9.93
#7E115A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7E115A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E115A
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E115A#FFFFFF#000000##FFFFFF
##7E115A1.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23375C
Deuteranopia (green-blind)
#444958
Tritanopia (blue-blind)
#870D35
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e115a;
/* rgb */ color: rgb(126, 17, 90);
/* oklch */ color: oklch(40.3% 0.157 345.9);
Tailwind
colors: {
  custom: {
    50: '#a85f88',
    500: '#7e115a',
    950: '#000000',
  },
}
SCSS
$custom: #7e115a;
$custom-light: #a85f88;
$custom-dark: #000000;
JSON
{
  "hex": "#7e115a",
  "rgb": {
    "r": 126,
    "g": 17,
    "b": 90
  },
  "hsl": {
    "h": 319.817,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40296,
    "c": 0.15712,
    "h": 345.9
  },
  "luminance": 0.05575
}

Semantic roles & 50–950 ramp

primary
#7E115A
secondary
#37B460
accent
#F37435
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7E115A

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

Preview Lab → · Contrast checker → · Palette generator →

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