#7E1B60#7E1B60

#7E1B60 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.3% C 0.151 H 343.2°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#7E1B60
RGBrgb(126, 27, 96)
HSLhsl(318, 65%, 30%)
HSVhsv(318, 79%, 49%)
CMYKcmyk(0%, 78.6%, 23.8%, 50.6%)
CIE-LABlab(29.58, 48.01, -16.37)
CIE-LCHlch(29.58, 50.72, 341.17°)
OKLaboklab(41.3% 0.1448 -0.0438)
OKLCHoklch(41.3% 0.151 343.2)
XYZxyz(11.1079, 6.0652, 11.6498)
Luminance0.0606 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1B60 #1B7E39
analogous
#6B1B7E #7E1B60 #7E1B2E
triadic
#7E1B60 #607E1B #1B607E
tetradic
#7E1B60 #7E6B1B #1B7E39 #1B2E7E
square
#7E1B60 #7E6B1B #1B7E39 #1B2E7E
split-complementary
#7E1B60 #2E7E1B #1B7E6B
monochromatic
#190513 #4C103A #7E1B60 #B02686 #D63EA8

Accessibility & contrast

On white

9.49
#7E1B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7E1B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1B60
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1B60#FFFFFF#000000##FFFFFF
##7E1B601.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263B62
Deuteranopia (green-blind)
#454C5E
Tritanopia (blue-blind)
#861B3B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e1b60;
/* rgb */ color: rgb(126, 27, 96);
/* oklch */ color: oklch(41.3% 0.151 343.2);
Tailwind
colors: {
  custom: {
    50: '#a7638d',
    500: '#7e1b60',
    950: '#000000',
  },
}
SCSS
$custom: #7e1b60;
$custom-light: #a7638d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1b60",
  "rgb": {
    "r": 126,
    "g": 27,
    "b": 96
  },
  "hsl": {
    "h": 318.182,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.41297,
    "c": 0.15125,
    "h": 343.2
  },
  "luminance": 0.06064
}

Semantic roles & 50–950 ramp

primary
#7E1B60
secondary
#43B265
accent
#E87340
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E1B60

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

Preview Lab → · Contrast checker → · Palette generator →

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