#7E1B3D#7E1B3D

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

Color values

HEX#7E1B3D
RGBrgb(126, 27, 61)
HSLhsl(339, 65%, 30%)
HSVhsv(339, 79%, 49%)
CMYKcmyk(0%, 78.6%, 51.6%, 50.6%)
CIE-LABlab(28.27, 43.96, 4.86)
CIE-LCHlch(28.27, 44.23, 6.30°)
OKLaboklab(39.91% 0.1344 0.0128)
OKLCHoklch(39.91% 0.135 5.4)
XYZxyz(9.8393, 5.5578, 4.9686)
Luminance0.0556 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1B3D #1B7E5C
analogous
#7E1B6E #7E1B3D #7E2B1B
triadic
#7E1B3D #3D7E1B #1B3D7E
tetradic
#7E1B3D #6E7E1B #1B7E5C #2B1B7E
square
#7E1B3D #6E7E1B #1B7E5C #2B1B7E
split-complementary
#7E1B3D #1B7E2B #1B6E7E
monochromatic
#19050C #4C1025 #7E1B3D #B02655 #D63E72

Accessibility & contrast

On white

9.95
#7E1B3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1B3D
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1B3D#FFFFFF#000000##FFFFFF
##7E1B3D1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34363E
Deuteranopia (green-blind)
#4E4A3B
Tritanopia (blue-blind)
#8A022A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1b3d;
/* rgb */ color: rgb(126, 27, 61);
/* oklch */ color: oklch(39.9% 0.135 5.4);
Tailwind
colors: {
  custom: {
    50: '#a96172',
    500: '#7e1b3d',
    950: '#000000',
  },
}
SCSS
$custom: #7e1b3d;
$custom-light: #a96172;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1b3d",
  "rgb": {
    "r": 126,
    "g": 27,
    "b": 61
  },
  "hsl": {
    "h": 339.394,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.39913,
    "c": 0.13497,
    "h": 5.4
  },
  "luminance": 0.05556
}

Semantic roles & 50–950 ramp

primary
#7E1B3D
secondary
#43B28C
accent
#E8AE40
background
#FAF6F6
surface
#F5EBEC
border
#CFC6C7
text
#110507
muted
#807A7A

Preview Lab

Preview with #7E1B3D

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

Preview Lab → · Contrast checker → · Palette generator →

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