#7E1C3F#7E1C3F

#7E1C3F is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.1% C 0.134 H 4.3°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#7E1C3F
RGBrgb(126, 28, 63)
HSLhsl(339, 64%, 30%)
HSVhsv(339, 78%, 49%)
CMYKcmyk(0%, 77.8%, 50%, 50.6%)
CIE-LABlab(28.45, 43.80, 3.77)
CIE-LCHlch(28.45, 43.96, 4.92°)
OKLaboklab(40.07% 0.134 0.0101)
OKLCHoklch(40.07% 0.134 4.3)
XYZxyz(9.9175, 5.6264, 5.2654)
Luminance0.0563 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1C3F #1C7E5B
analogous
#7E1C70 #7E1C3F #7E2A1C
triadic
#7E1C3F #3F7E1C #1C3F7E
tetradic
#7E1C3F #707E1C #1C7E5B #2A1C7E
square
#7E1C3F #707E1C #1C7E5B #2A1C7E
split-complementary
#7E1C3F #1C7E2A #1C707E
monochromatic
#1A060D #4C1126 #7E1C3F #B02758 #D54075

Accessibility & contrast

On white

9.88
#7E1C3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7E1C3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1C3F
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1C3F#FFFFFF#000000##FFFFFF
##7E1C3F1.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343740
Deuteranopia (green-blind)
#4E4A3D
Tritanopia (blue-blind)
#8A062B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1c3f;
/* rgb */ color: rgb(126, 28, 63);
/* oklch */ color: oklch(40.1% 0.134 4.3);
Tailwind
colors: {
  custom: {
    50: '#a86273',
    500: '#7e1c3f',
    950: '#000000',
  },
}
SCSS
$custom: #7e1c3f;
$custom-light: #a86273;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1c3f",
  "rgb": {
    "r": 126,
    "g": 28,
    "b": 63
  },
  "hsl": {
    "h": 338.571,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40066,
    "c": 0.1344,
    "h": 4.3
  },
  "luminance": 0.05625
}

Semantic roles & 50–950 ramp

primary
#7E1C3F
secondary
#44B28B
accent
#E7AC41
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #7E1C3F

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

Preview Lab → · Contrast checker → · Palette generator →

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