#7E1B57#7E1B57

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

Color values

HEX#7E1B57
RGBrgb(126, 27, 87)
HSLhsl(324, 65%, 30%)
HSVhsv(324, 79%, 49%)
CMYKcmyk(0%, 78.6%, 31%, 50.6%)
CIE-LABlab(29.18, 46.81, -11.09)
CIE-LCHlch(29.18, 48.10, 346.67°)
OKLaboklab(40.88% 0.1428 -0.0291)
OKLCHoklch(40.88% 0.146 348.5)
XYZxyz(10.7170, 5.9088, 9.5911)
Luminance0.0591 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1B57 #1B7E42
analogous
#731B7E #7E1B57 #7E1B26
triadic
#7E1B57 #577E1B #1B577E
tetradic
#7E1B57 #7E731B #1B7E42 #1B267E
square
#7E1B57 #7E731B #1B7E42 #1B267E
split-complementary
#7E1B57 #267E1B #1B7E73
monochromatic
#190511 #4C1034 #7E1B57 #B0267A #D63E9A

Accessibility & contrast

On white

9.63
#7E1B57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1B57
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1B57#FFFFFF#000000##FFFFFF
##7E1B571.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3A59
Deuteranopia (green-blind)
#484B55
Tritanopia (blue-blind)
#871636
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1b57;
/* rgb */ color: rgb(126, 27, 87);
/* oklch */ color: oklch(40.9% 0.146 348.5);
Tailwind
colors: {
  custom: {
    50: '#a76286',
    500: '#7e1b57',
    950: '#000000',
  },
}
SCSS
$custom: #7e1b57;
$custom-light: #a76286;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1b57",
  "rgb": {
    "r": 126,
    "g": 27,
    "b": 87
  },
  "hsl": {
    "h": 323.636,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.40881,
    "c": 0.14577,
    "h": 348.5
  },
  "luminance": 0.05908
}

Semantic roles & 50–950 ramp

primary
#7E1B57
secondary
#43B26F
accent
#E88240
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7E1B57

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

Preview Lab → · Contrast checker → · Palette generator →

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