#7E1B52#7E1B52

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

Color values

HEX#7E1B52
RGBrgb(126, 27, 82)
HSLhsl(327, 65%, 30%)
HSVhsv(327, 79%, 49%)
CMYKcmyk(0%, 78.6%, 34.9%, 50.6%)
CIE-LABlab(28.98, 46.19, -8.10)
CIE-LCHlch(28.98, 46.89, 350.05°)
OKLaboklab(40.67% 0.1415 -0.021)
OKLCHoklch(40.67% 0.143 351.6)
XYZxyz(10.5197, 5.8299, 8.5523)
Luminance0.0583 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1B52 #1B7E47
analogous
#791B7E #7E1B52 #7E1B20
triadic
#7E1B52 #527E1B #1B527E
tetradic
#7E1B52 #7E791B #1B7E47 #1B207E
square
#7E1B52 #7E791B #1B7E47 #1B207E
split-complementary
#7E1B52 #207E1B #1B7E79
monochromatic
#190510 #4C1031 #7E1B52 #B02673 #D63E92

Accessibility & contrast

On white

9.70
#7E1B52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1B52
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1B52#FFFFFF#000000##FFFFFF
##7E1B521.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1b52;
/* rgb */ color: rgb(126, 27, 82);
/* oklch */ color: oklch(40.7% 0.143 351.6);
Tailwind
colors: {
  custom: {
    50: '#a76282',
    500: '#7e1b52',
    950: '#000000',
  },
}
SCSS
$custom: #7e1b52;
$custom-light: #a76282;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1b52",
  "rgb": {
    "r": 126,
    "g": 27,
    "b": 82
  },
  "hsl": {
    "h": 326.667,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.40668,
    "c": 0.14307,
    "h": 351.6
  },
  "luminance": 0.05829
}

Semantic roles & 50–950 ramp

primary
#7E1B52
secondary
#43B274
accent
#E88B40
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7E1B52

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

Preview Lab → · Contrast checker → · Palette generator →

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