#7E1B39#7E1B39

#7E1B39 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.8% C 0.134 H 8.1°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#7E1B39
RGBrgb(126, 27, 57)
HSLhsl(342, 65%, 30%)
HSVhsv(342, 79%, 49%)
CMYKcmyk(0%, 78.6%, 54.8%, 50.6%)
CIE-LABlab(28.16, 43.61, 7.39)
CIE-LCHlch(28.16, 44.23, 9.61°)
OKLaboklab(39.8% 0.1328 0.0189)
OKLCHoklch(39.8% 0.134 8.1)
XYZxyz(9.7355, 5.5163, 4.4222)
Luminance0.0551 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1B39 #1B7E60
analogous
#7E1B6B #7E1B39 #7E2E1B
triadic
#7E1B39 #397E1B #1B397E
tetradic
#7E1B39 #6B7E1B #1B7E60 #2E1B7E
square
#7E1B39 #6B7E1B #1B7E60 #2E1B7E
split-complementary
#7E1B39 #1B7E2E #1B6B7E
monochromatic
#19050B #4C1022 #7E1B39 #B02650 #D63E6C

Accessibility & contrast

On white

9.99
#7E1B39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7E1B39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1B39
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1B39#FFFFFF#000000##FFFFFF
##7E1B391.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34363A
Deuteranopia (green-blind)
#4E4A37
Tritanopia (blue-blind)
#8A0028
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1b39;
/* rgb */ color: rgb(126, 27, 57);
/* oklch */ color: oklch(39.8% 0.134 8.1);
Tailwind
colors: {
  custom: {
    50: '#a9616f',
    500: '#7e1b39',
    950: '#000000',
  },
}
SCSS
$custom: #7e1b39;
$custom-light: #a9616f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1b39",
  "rgb": {
    "r": 126,
    "g": 27,
    "b": 57
  },
  "hsl": {
    "h": 341.818,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.39796,
    "c": 0.1341,
    "h": 8.1
  },
  "luminance": 0.05515
}

Semantic roles & 50–950 ramp

primary
#7E1B39
secondary
#43B290
accent
#E8B540
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110507
muted
#807A7A

Preview Lab

Preview with #7E1B39

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

Preview Lab → · Contrast checker → · Palette generator →

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