#7E1B45#7E1B45

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

Color values

HEX#7E1B45
RGBrgb(126, 27, 69)
HSLhsl(335, 65%, 30%)
HSVhsv(335, 79%, 49%)
CMYKcmyk(0%, 78.6%, 45.2%, 50.6%)
CIE-LABlab(28.51, 44.73, -0.15)
CIE-LCHlch(28.51, 44.73, 359.80°)
OKLaboklab(40.17% 0.1374 0.0001)
OKLCHoklch(40.17% 0.137 0)
XYZxyz(10.0711, 5.6505, 6.1894)
Luminance0.0565 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1B45 #1B7E54
analogous
#7E1B77 #7E1B45 #7E221B
triadic
#7E1B45 #457E1B #1B457E
tetradic
#7E1B45 #777E1B #1B7E54 #221B7E
square
#7E1B45 #777E1B #1B7E54 #221B7E
split-complementary
#7E1B45 #1B7E22 #1B777E
monochromatic
#19050E #4C1029 #7E1B45 #B02661 #D63E7E

Accessibility & contrast

On white

9.86
#7E1B45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1B45
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1B45#FFFFFF#000000##FFFFFF
##7E1B451.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313746
Deuteranopia (green-blind)
#4C4A43
Tritanopia (blue-blind)
#89092D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1b45;
/* rgb */ color: rgb(126, 27, 69);
/* oklch */ color: oklch(40.2% 0.137 0.0);
Tailwind
colors: {
  custom: {
    50: '#a86278',
    500: '#7e1b45',
    950: '#000000',
  },
}
SCSS
$custom: #7e1b45;
$custom-light: #a86278;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1b45",
  "rgb": {
    "r": 126,
    "g": 27,
    "b": 69
  },
  "hsl": {
    "h": 334.545,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.40173,
    "c": 0.13737,
    "h": 0
  },
  "luminance": 0.05649
}

Semantic roles & 50–950 ramp

primary
#7E1B45
secondary
#43B283
accent
#E8A140
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7E1B45

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

Preview Lab → · Contrast checker → · Palette generator →

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