#7E1D3F#7E1D3F

#7E1D3F is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.2% C 0.133 H 4.5°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#7E1D3F
RGBrgb(126, 29, 63)
HSLhsl(339, 63%, 30%)
HSVhsv(339, 77%, 49%)
CMYKcmyk(0%, 77%, 50%, 50.6%)
CIE-LABlab(28.58, 43.44, 3.95)
CIE-LCHlch(28.58, 43.62, 5.20°)
OKLaboklab(40.16% 0.1329 0.0105)
OKLCHoklch(40.16% 0.133 4.5)
XYZxyz(9.9416, 5.6746, 5.2735)
Luminance0.0567 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D3F #1D7E5C
analogous
#7E1D6F #7E1D3F #7E2B1D
triadic
#7E1D3F #3F7E1D #1D3F7E
tetradic
#7E1D3F #6F7E1D #1D7E5C #2B1D7E
square
#7E1D3F #6F7E1D #1D7E5C #2B1D7E
split-complementary
#7E1D3F #1D7E2B #1D6F7E
monochromatic
#1B060D #4C1226 #7E1D3F #B02858 #D34275

Accessibility & contrast

On white

9.84
#7E1D3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1D3F
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D3F#FFFFFF#000000##FFFFFF
##7E1D3F1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1d3f;
/* rgb */ color: rgb(126, 29, 63);
/* oklch */ color: oklch(40.2% 0.133 4.5);
Tailwind
colors: {
  custom: {
    50: '#a86273',
    500: '#7e1d3f',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d3f;
$custom-light: #a86273;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d3f",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 63
  },
  "hsl": {
    "h": 338.969,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40159,
    "c": 0.1333,
    "h": 4.5
  },
  "luminance": 0.05673
}

Semantic roles & 50–950 ramp

primary
#7E1D3F
secondary
#45B18C
accent
#E6AC42
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7E1D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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