#7E1B53#7E1B53

#7E1B53 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.7% C 0.144 H 350.9°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#7E1B53
RGBrgb(126, 27, 83)
HSLhsl(326, 65%, 30%)
HSVhsv(326, 79%, 49%)
CMYKcmyk(0%, 78.6%, 34.1%, 50.6%)
CIE-LABlab(29.02, 46.31, -8.70)
CIE-LCHlch(29.02, 47.12, 349.36°)
OKLaboklab(40.71% 0.1418 -0.0226)
OKLCHoklch(40.71% 0.144 350.9)
XYZxyz(10.5581, 5.8453, 8.7542)
Luminance0.0584 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1B53 #1B7E46
analogous
#781B7E #7E1B53 #7E1B21
triadic
#7E1B53 #537E1B #1B537E
tetradic
#7E1B53 #7E781B #1B7E46 #1B217E
square
#7E1B53 #7E781B #1B7E46 #1B217E
split-complementary
#7E1B53 #217E1B #1B7E78
monochromatic
#190511 #4C1032 #7E1B53 #B02674 #D63E94

Accessibility & contrast

On white

9.68
#7E1B53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7E1B53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1B53
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1B53#FFFFFF#000000##FFFFFF
##7E1B531.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3954
Deuteranopia (green-blind)
#494B51
Tritanopia (blue-blind)
#881334
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1b53;
/* rgb */ color: rgb(126, 27, 83);
/* oklch */ color: oklch(40.7% 0.144 350.9);
Tailwind
colors: {
  custom: {
    50: '#a76283',
    500: '#7e1b53',
    950: '#000000',
  },
}
SCSS
$custom: #7e1b53;
$custom-light: #a76283;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1b53",
  "rgb": {
    "r": 126,
    "g": 27,
    "b": 83
  },
  "hsl": {
    "h": 326.061,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.40709,
    "c": 0.14359,
    "h": 350.9
  },
  "luminance": 0.05844
}

Semantic roles & 50–950 ramp

primary
#7E1B53
secondary
#43B273
accent
#E88940
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7E1B53

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

Preview Lab → · Contrast checker → · Palette generator →

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