#7E1B58#7E1B58

#7E1B58 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.9% C 0.146 H 347.9°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#7E1B58
RGBrgb(126, 27, 88)
HSLhsl(323, 65%, 30%)
HSVhsv(323, 79%, 49%)
CMYKcmyk(0%, 78.6%, 30.2%, 50.6%)
CIE-LABlab(29.22, 46.94, -11.68)
CIE-LCHlch(29.22, 48.37, 346.02°)
OKLaboklab(40.92% 0.1431 -0.0308)
OKLCHoklch(40.92% 0.146 347.9)
XYZxyz(10.7581, 5.9253, 9.8078)
Luminance0.0592 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1B58 #1B7E41
analogous
#721B7E #7E1B58 #7E1B27
triadic
#7E1B58 #587E1B #1B587E
tetradic
#7E1B58 #7E721B #1B7E41 #1B277E
square
#7E1B58 #7E721B #1B7E41 #1B277E
split-complementary
#7E1B58 #277E1B #1B7E72
monochromatic
#190512 #4C1035 #7E1B58 #B0267B #D63E9B

Accessibility & contrast

On white

9.61
#7E1B58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7E1B58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1B58
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1B58#FFFFFF#000000##FFFFFF
##7E1B581.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3A5A
Deuteranopia (green-blind)
#474B56
Tritanopia (blue-blind)
#871637
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1b58;
/* rgb */ color: rgb(126, 27, 88);
/* oklch */ color: oklch(40.9% 0.146 347.9);
Tailwind
colors: {
  custom: {
    50: '#a76287',
    500: '#7e1b58',
    950: '#000000',
  },
}
SCSS
$custom: #7e1b58;
$custom-light: #a76287;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1b58",
  "rgb": {
    "r": 126,
    "g": 27,
    "b": 88
  },
  "hsl": {
    "h": 323.03,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.40925,
    "c": 0.14635,
    "h": 347.9
  },
  "luminance": 0.05924
}

Semantic roles & 50–950 ramp

primary
#7E1B58
secondary
#43B26E
accent
#E88040
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7E1B58

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

Preview Lab → · Contrast checker → · Palette generator →

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