#7E1B3C#7E1B3C

#7E1B3C is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.9% C 0.135 H 6.1°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#7E1B3C
RGBrgb(126, 27, 60)
HSLhsl(340, 65%, 30%)
HSVhsv(340, 79%, 49%)
CMYKcmyk(0%, 78.6%, 52.4%, 50.6%)
CIE-LABlab(28.24, 43.87, 5.49)
CIE-LCHlch(28.24, 44.21, 7.13°)
OKLaboklab(39.88% 0.134 0.0143)
OKLCHoklch(39.88% 0.135 6.1)
XYZxyz(9.8126, 5.5471, 4.8281)
Luminance0.0555 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1B3C #1B7E5D
analogous
#7E1B6E #7E1B3C #7E2B1B
triadic
#7E1B3C #3C7E1B #1B3C7E
tetradic
#7E1B3C #6E7E1B #1B7E5D #2B1B7E
square
#7E1B3C #6E7E1B #1B7E5D #2B1B7E
split-complementary
#7E1B3C #1B7E2B #1B6E7E
monochromatic
#19050C #4C1024 #7E1B3C #B02654 #D63E70

Accessibility & contrast

On white

9.96
#7E1B3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7E1B3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1B3C
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1B3C#FFFFFF#000000##FFFFFF
##7E1B3C1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34363D
Deuteranopia (green-blind)
#4E4A3A
Tritanopia (blue-blind)
#8A0229
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1b3c;
/* rgb */ color: rgb(126, 27, 60);
/* oklch */ color: oklch(39.9% 0.135 6.1);
Tailwind
colors: {
  custom: {
    50: '#a96171',
    500: '#7e1b3c',
    950: '#000000',
  },
}
SCSS
$custom: #7e1b3c;
$custom-light: #a96171;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1b3c",
  "rgb": {
    "r": 126,
    "g": 27,
    "b": 60
  },
  "hsl": {
    "h": 340,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.39883,
    "c": 0.13472,
    "h": 6.1
  },
  "luminance": 0.05546
}

Semantic roles & 50–950 ramp

primary
#7E1B3C
secondary
#43B28D
accent
#E8B040
background
#FAF6F6
surface
#F5EBEC
border
#CFC6C7
text
#110507
muted
#807A7A

Preview Lab

Preview with #7E1B3C

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

Preview Lab → · Contrast checker → · Palette generator →

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