#7E1E51#7E1E51

#7E1E51 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.9% C 0.139 H 352.6°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#7E1E51
RGBrgb(126, 30, 81)
HSLhsl(328, 62%, 31%)
HSVhsv(328, 76%, 49%)
CMYKcmyk(0%, 76.2%, 35.7%, 50.6%)
CIE-LABlab(29.31, 45.02, -6.94)
CIE-LCHlch(29.31, 45.56, 351.23°)
OKLaboklab(40.9% 0.1379 -0.0178)
OKLCHoklch(40.9% 0.139 352.6)
XYZxyz(10.5543, 5.9595, 8.3775)
Luminance0.0596 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E51 #1E7E4B
analogous
#7B1E7E #7E1E51 #7E1E21
triadic
#7E1E51 #517E1E #1E517E
tetradic
#7E1E51 #7E7B1E #1E7E4B #1E217E
square
#7E1E51 #7E7B1E #1E7E4B #1E217E
split-complementary
#7E1E51 #217E1E #1E7E7B
monochromatic
#1B0611 #4D1231 #7E1E51 #AF2A71 #D24490

Accessibility & contrast

On white

9.58
#7E1E51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7E1E51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1E51
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E51#FFFFFF#000000##FFFFFF
##7E1E511.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3A52
Deuteranopia (green-blind)
#4A4B4F
Tritanopia (blue-blind)
#881635
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1e51;
/* rgb */ color: rgb(126, 30, 81);
/* oklch */ color: oklch(40.9% 0.139 352.6);
Tailwind
colors: {
  custom: {
    50: '#a76381',
    500: '#7e1e51',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e51;
$custom-light: #a76381;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e51",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 81
  },
  "hsl": {
    "h": 328.125,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40897,
    "c": 0.13909,
    "h": 352.6
  },
  "luminance": 0.05958
}

Semantic roles & 50–950 ramp

primary
#7E1E51
secondary
#47B179
accent
#E58F43
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7E1E51

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

Preview Lab → · Contrast checker → · Palette generator →

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