#7E1E4B#7E1E4B

#7E1E4B is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.7% C 0.136 H 356.6°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#7E1E4B
RGBrgb(126, 30, 75)
HSLhsl(332, 62%, 31%)
HSVhsv(332, 76%, 49%)
CMYKcmyk(0%, 76.2%, 40.5%, 50.6%)
CIE-LABlab(29.09, 44.33, -3.30)
CIE-LCHlch(29.09, 44.45, 355.74°)
OKLaboklab(40.66% 0.1361 -0.0081)
OKLCHoklch(40.66% 0.136 356.6)
XYZxyz(10.3392, 5.8734, 7.2445)
Luminance0.0587 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E4B #1E7E51
analogous
#7E1E7B #7E1E4B #7E211E
triadic
#7E1E4B #4B7E1E #1E4B7E
tetradic
#7E1E4B #7B7E1E #1E7E51 #211E7E
square
#7E1E4B #7B7E1E #1E7E51 #211E7E
split-complementary
#7E1E4B #1E7E21 #1E7B7E
monochromatic
#1B0610 #4D122E #7E1E4B #AF2A68 #D24487

Accessibility & contrast

On white

9.66
#7E1E4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1E4B
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E4B#FFFFFF#000000##FFFFFF
##7E1E4B1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31394C
Deuteranopia (green-blind)
#4C4B49
Tritanopia (blue-blind)
#891232
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1e4b;
/* rgb */ color: rgb(126, 30, 75);
/* oklch */ color: oklch(40.7% 0.136 356.6);
Tailwind
colors: {
  custom: {
    50: '#a8637d',
    500: '#7e1e4b',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e4b;
$custom-light: #a8637d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e4b",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 75
  },
  "hsl": {
    "h": 331.875,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40664,
    "c": 0.1363,
    "h": 356.6
  },
  "luminance": 0.05872
}

Semantic roles & 50–950 ramp

primary
#7E1E4B
secondary
#47B17F
accent
#E59943
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7E1E4B

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

Preview Lab → · Contrast checker → · Palette generator →

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