#7E1E5D#7E1E5D

#7E1E5D is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.4% C 0.146 H 345.1°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#7E1E5D
RGBrgb(126, 30, 93)
HSLhsl(321, 62%, 31%)
HSVhsv(321, 76%, 49%)
CMYKcmyk(0%, 76.2%, 26.2%, 50.6%)
CIE-LABlab(29.80, 46.57, -14.07)
CIE-LCHlch(29.80, 48.65, 343.19°)
OKLaboklab(41.42% 0.141 -0.0374)
OKLCHoklch(41.42% 0.146 345.1)
XYZxyz(11.0447, 6.1557, 10.9603)
Luminance0.0615 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E5D #1E7E3F
analogous
#6F1E7E #7E1E5D #7E1E2D
triadic
#7E1E5D #5D7E1E #1E5D7E
tetradic
#7E1E5D #7E6F1E #1E7E3F #1E2D7E
square
#7E1E5D #7E6F1E #1E7E3F #1E2D7E
split-complementary
#7E1E5D #2D7E1E #1E7E6F
monochromatic
#1B0614 #4D1239 #7E1E5D #AF2A81 #D244A1

Accessibility & contrast

On white

9.41
#7E1E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7E1E5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1E5D
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E5D#FFFFFF#000000##FFFFFF
##7E1E5D1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3C5F
Deuteranopia (green-blind)
#474C5B
Tritanopia (blue-blind)
#871C3B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e1e5d;
/* rgb */ color: rgb(126, 30, 93);
/* oklch */ color: oklch(41.4% 0.146 345.1);
Tailwind
colors: {
  custom: {
    50: '#a7648b',
    500: '#7e1e5d',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e5d;
$custom-light: #a7648b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e5d",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 93
  },
  "hsl": {
    "h": 320.625,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41417,
    "c": 0.14589,
    "h": 345.1
  },
  "luminance": 0.06154
}

Semantic roles & 50–950 ramp

primary
#7E1E5D
secondary
#47B16B
accent
#E57B43
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E1E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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