#7E1A36#7E1A36

#7E1A36 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.6% C 0.135 H 9.9°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#7E1A36
RGBrgb(126, 26, 54)
HSLhsl(343, 66%, 30%)
HSVhsv(343, 79%, 49%)
CMYKcmyk(0%, 79.4%, 57.1%, 50.6%)
CIE-LABlab(27.96, 43.70, 9.13)
CIE-LCHlch(27.96, 44.64, 11.80°)
OKLaboklab(39.62% 0.1326 0.0231)
OKLCHoklch(39.62% 0.135 9.9)
XYZxyz(9.6404, 5.4421, 4.0321)
Luminance0.0544 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1A36 #1A7E62
analogous
#7E1A68 #7E1A36 #7E301A
triadic
#7E1A36 #367E1A #1A367E
tetradic
#7E1A36 #687E1A #1A7E62 #301A7E
square
#7E1A36 #687E1A #1A7E62 #301A7E
split-complementary
#7E1A36 #1A7E30 #1A687E
monochromatic
#19050B #4B1020 #7E1A36 #B1244C #D73C67

Accessibility & contrast

On white

10.06
#7E1A36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7E1A36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1A36
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1A36#FFFFFF#000000##FFFFFF
##7E1A361.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353536
Deuteranopia (green-blind)
#4E4933
Tritanopia (blue-blind)
#8A0026
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1a36;
/* rgb */ color: rgb(126, 26, 54);
/* oklch */ color: oklch(39.6% 0.135 9.9);
Tailwind
colors: {
  custom: {
    50: '#a9616c',
    500: '#7e1a36',
    950: '#000000',
  },
}
SCSS
$custom: #7e1a36;
$custom-light: #a9616c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1a36",
  "rgb": {
    "r": 126,
    "g": 26,
    "b": 54
  },
  "hsl": {
    "h": 343.2,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39624,
    "c": 0.13461,
    "h": 9.9
  },
  "luminance": 0.05441
}

Semantic roles & 50–950 ramp

primary
#7E1A36
secondary
#42B293
accent
#E9B93F
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110507
muted
#807A7A

Preview Lab

Preview with #7E1A36

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

Preview Lab → · Contrast checker → · Palette generator →

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