#7E1B44#7E1B44

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

Color values

HEX#7E1B44
RGBrgb(126, 27, 68)
HSLhsl(335, 65%, 30%)
HSVhsv(335, 79%, 49%)
CMYKcmyk(0%, 78.6%, 46%, 50.6%)
CIE-LABlab(28.48, 44.63, 0.47)
CIE-LCHlch(28.48, 44.63, 0.60°)
OKLaboklab(40.14% 0.137 0.0017)
OKLCHoklch(40.14% 0.137 0.7)
XYZxyz(10.0403, 5.6382, 6.0273)
Luminance0.0564 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1B44 #1B7E55
analogous
#7E1B75 #7E1B44 #7E241B
triadic
#7E1B44 #447E1B #1B447E
tetradic
#7E1B44 #757E1B #1B7E55 #241B7E
square
#7E1B44 #757E1B #1B7E55 #241B7E
split-complementary
#7E1B44 #1B7E24 #1B757E
monochromatic
#19050E #4C1029 #7E1B44 #B0265F #D63E7D

Accessibility & contrast

On white

9.87
#7E1B44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1B44
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1B44#FFFFFF#000000##FFFFFF
##7E1B441.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323745
Deuteranopia (green-blind)
#4C4A42
Tritanopia (blue-blind)
#89082D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1b44;
/* rgb */ color: rgb(126, 27, 68);
/* oklch */ color: oklch(40.1% 0.137 0.7);
Tailwind
colors: {
  custom: {
    50: '#a86277',
    500: '#7e1b44',
    950: '#000000',
  },
}
SCSS
$custom: #7e1b44;
$custom-light: #a86277;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1b44",
  "rgb": {
    "r": 126,
    "g": 27,
    "b": 68
  },
  "hsl": {
    "h": 335.152,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.40139,
    "c": 0.13702,
    "h": 0.7
  },
  "luminance": 0.05637
}

Semantic roles & 50–950 ramp

primary
#7E1B44
secondary
#43B284
accent
#E8A240
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7E1B44

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

Preview Lab → · Contrast checker → · Palette generator →

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