#7E1E4F#7E1E4F

#7E1E4F is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.8% C 0.138 H 353.9°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#7E1E4F
RGBrgb(126, 30, 79)
HSLhsl(329, 62%, 31%)
HSVhsv(329, 76%, 49%)
CMYKcmyk(0%, 76.2%, 37.3%, 50.6%)
CIE-LABlab(29.23, 44.79, -5.74)
CIE-LCHlch(29.23, 45.15, 352.70°)
OKLaboklab(40.82% 0.1373 -0.0146)
OKLCHoklch(40.82% 0.138 353.9)
XYZxyz(10.4804, 5.9299, 7.9883)
Luminance0.0593 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E4F #1E7E4D
analogous
#7D1E7E #7E1E4F #7E1E1F
triadic
#7E1E4F #4F7E1E #1E4F7E
tetradic
#7E1E4F #7E7D1E #1E7E4D #1E1F7E
square
#7E1E4F #7E7D1E #1E7E4D #1E1F7E
split-complementary
#7E1E4F #1F7E1E #1E7E7D
monochromatic
#1B0611 #4D1230 #7E1E4F #AF2A6E #D2448D

Accessibility & contrast

On white

9.61
#7E1E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1E4F
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E4F#FFFFFF#000000##FFFFFF
##7E1E4F1.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303A50
Deuteranopia (green-blind)
#4B4B4D
Tritanopia (blue-blind)
#881534
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1e4f;
/* rgb */ color: rgb(126, 30, 79);
/* oklch */ color: oklch(40.8% 0.138 353.9);
Tailwind
colors: {
  custom: {
    50: '#a76380',
    500: '#7e1e4f',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e4f;
$custom-light: #a76380;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e4f",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 79
  },
  "hsl": {
    "h": 329.375,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40817,
    "c": 0.13811,
    "h": 353.9
  },
  "luminance": 0.05929
}

Semantic roles & 50–950 ramp

primary
#7E1E4F
secondary
#47B17B
accent
#E59243
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7E1E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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