#7E1C4F#7E1C4F

#7E1C4F is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.6% C 0.140 H 353.6°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#7E1C4F
RGBrgb(126, 28, 79)
HSLhsl(329, 64%, 30%)
HSVhsv(329, 78%, 49%)
CMYKcmyk(0%, 77.8%, 37.3%, 50.6%)
CIE-LABlab(28.98, 45.49, -6.11)
CIE-LCHlch(28.98, 45.90, 352.35°)
OKLaboklab(40.63% 0.1396 -0.0156)
OKLCHoklch(40.63% 0.14 353.6)
XYZxyz(10.4314, 5.8319, 7.9720)
Luminance0.0583 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1C4F #1C7E4B
analogous
#7C1C7E #7E1C4F #7E1C1E
triadic
#7E1C4F #4F7E1C #1C4F7E
tetradic
#7E1C4F #7E7C1C #1C7E4B #1C1E7E
square
#7E1C4F #7E7C1C #1C7E4B #1C1E7E
split-complementary
#7E1C4F #1E7E1C #1C7E7C
monochromatic
#1A0610 #4C1130 #7E1C4F #B0276E #D5408D

Accessibility & contrast

On white

9.69
#7E1C4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1C4F
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1C4F#FFFFFF#000000##FFFFFF
##7E1C4F1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3950
Deuteranopia (green-blind)
#4A4B4D
Tritanopia (blue-blind)
#881233
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1c4f;
/* rgb */ color: rgb(126, 28, 79);
/* oklch */ color: oklch(40.6% 0.140 353.6);
Tailwind
colors: {
  custom: {
    50: '#a86380',
    500: '#7e1c4f',
    950: '#000000',
  },
}
SCSS
$custom: #7e1c4f;
$custom-light: #a86380;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1c4f",
  "rgb": {
    "r": 126,
    "g": 28,
    "b": 79
  },
  "hsl": {
    "h": 328.776,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40634,
    "c": 0.14045,
    "h": 353.6
  },
  "luminance": 0.05831
}

Semantic roles & 50–950 ramp

primary
#7E1C4F
secondary
#44B279
accent
#E79141
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7E1C4F

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

Preview Lab → · Contrast checker → · Palette generator →

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