#7E1B41#7E1B41

#7E1B41 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.0% C 0.136 H 2.7°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#7E1B41
RGBrgb(126, 27, 65)
HSLhsl(337, 65%, 30%)
HSVhsv(337, 79%, 49%)
CMYKcmyk(0%, 78.6%, 48.4%, 50.6%)
CIE-LABlab(28.39, 44.34, 2.34)
CIE-LCHlch(28.39, 44.40, 3.02°)
OKLaboklab(40.04% 0.1359 0.0065)
OKLCHoklch(40.04% 0.136 2.7)
XYZxyz(9.9511, 5.6025, 5.5574)
Luminance0.0560 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1B41 #1B7E58
analogous
#7E1B72 #7E1B41 #7E271B
triadic
#7E1B41 #417E1B #1B417E
tetradic
#7E1B41 #727E1B #1B7E58 #271B7E
square
#7E1B41 #727E1B #1B7E58 #271B7E
split-complementary
#7E1B41 #1B7E27 #1B727E
monochromatic
#19050D #4C1027 #7E1B41 #B0265B #D63E78

Accessibility & contrast

On white

9.90
#7E1B41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7E1B41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1B41
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1B41#FFFFFF#000000##FFFFFF
##7E1B411.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323742
Deuteranopia (green-blind)
#4D4A3F
Tritanopia (blue-blind)
#89052B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1b41;
/* rgb */ color: rgb(126, 27, 65);
/* oklch */ color: oklch(40.0% 0.136 2.7);
Tailwind
colors: {
  custom: {
    50: '#a86275',
    500: '#7e1b41',
    950: '#000000',
  },
}
SCSS
$custom: #7e1b41;
$custom-light: #a86275;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1b41",
  "rgb": {
    "r": 126,
    "g": 27,
    "b": 65
  },
  "hsl": {
    "h": 336.97,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.40039,
    "c": 0.13605,
    "h": 2.7
  },
  "luminance": 0.05601
}

Semantic roles & 50–950 ramp

primary
#7E1B41
secondary
#43B287
accent
#E8A740
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7E1B41

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

Preview Lab → · Contrast checker → · Palette generator →

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