#7E1B46#7E1B46

#7E1B46 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.2% C 0.138 H 359.4°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#7E1B46
RGBrgb(126, 27, 70)
HSLhsl(334, 65%, 30%)
HSVhsv(334, 79%, 49%)
CMYKcmyk(0%, 78.6%, 44.4%, 50.6%)
CIE-LABlab(28.55, 44.84, -0.77)
CIE-LCHlch(28.55, 44.84, 359.01°)
OKLaboklab(40.21% 0.1377 -0.0015)
OKLCHoklch(40.21% 0.138 359.4)
XYZxyz(10.1024, 5.6630, 6.3542)
Luminance0.0566 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1B46 #1B7E53
analogous
#7E1B78 #7E1B46 #7E211B
triadic
#7E1B46 #467E1B #1B467E
tetradic
#7E1B46 #787E1B #1B7E53 #211B7E
square
#7E1B46 #787E1B #1B7E53 #211B7E
split-complementary
#7E1B46 #1B7E21 #1B787E
monochromatic
#19050E #4C102A #7E1B46 #B02662 #D63E80

Accessibility & contrast

On white

9.85
#7E1B46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1B46
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1B46#FFFFFF#000000##FFFFFF
##7E1B461.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313747
Deuteranopia (green-blind)
#4C4A44
Tritanopia (blue-blind)
#89092E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1b46;
/* rgb */ color: rgb(126, 27, 70);
/* oklch */ color: oklch(40.2% 0.138 359.4);
Tailwind
colors: {
  custom: {
    50: '#a86279',
    500: '#7e1b46',
    950: '#000000',
  },
}
SCSS
$custom: #7e1b46;
$custom-light: #a86279;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1b46",
  "rgb": {
    "r": 126,
    "g": 27,
    "b": 70
  },
  "hsl": {
    "h": 333.939,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.40208,
    "c": 0.13773,
    "h": 359.4
  },
  "luminance": 0.05662
}

Semantic roles & 50–950 ramp

primary
#7E1B46
secondary
#43B282
accent
#E89F40
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7E1B46

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

Preview Lab → · Contrast checker → · Palette generator →

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