#7E1B5D#7E1B5D

#7E1B5D is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.2% C 0.149 H 344.9°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#7E1B5D
RGBrgb(126, 27, 93)
HSLhsl(320, 65%, 30%)
HSVhsv(320, 79%, 49%)
CMYKcmyk(0%, 78.6%, 26.2%, 50.6%)
CIE-LABlab(29.44, 47.60, -14.62)
CIE-LCHlch(29.44, 49.79, 342.92°)
OKLaboklab(41.15% 0.1442 -0.0389)
OKLCHoklch(41.15% 0.149 344.9)
XYZxyz(10.9724, 6.0110, 10.9362)
Luminance0.0601 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1B5D #1B7E3C
analogous
#6E1B7E #7E1B5D #7E1B2B
triadic
#7E1B5D #5D7E1B #1B5D7E
tetradic
#7E1B5D #7E6E1B #1B7E3C #1B2B7E
square
#7E1B5D #7E6E1B #1B7E3C #1B2B7E
split-complementary
#7E1B5D #2B7E1B #1B7E6E
monochromatic
#190513 #4C1038 #7E1B5D #B02682 #D63EA3

Accessibility & contrast

On white

9.54
#7E1B5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7E1B5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1B5D
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1B5D#FFFFFF#000000##FFFFFF
##7E1B5D1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283B5F
Deuteranopia (green-blind)
#464B5B
Tritanopia (blue-blind)
#87193A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1b5d;
/* rgb */ color: rgb(126, 27, 93);
/* oklch */ color: oklch(41.2% 0.149 344.9);
Tailwind
colors: {
  custom: {
    50: '#a7638b',
    500: '#7e1b5d',
    950: '#000000',
  },
}
SCSS
$custom: #7e1b5d;
$custom-light: #a7638b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1b5d",
  "rgb": {
    "r": 126,
    "g": 27,
    "b": 93
  },
  "hsl": {
    "h": 320,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.41154,
    "c": 0.14934,
    "h": 344.9
  },
  "luminance": 0.0601
}

Semantic roles & 50–950 ramp

primary
#7E1B5D
secondary
#43B268
accent
#E87840
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E1B5D

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

Preview Lab → · Contrast checker → · Palette generator →

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