#7E1536#7E1536

#7E1536 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.2% C 0.139 H 8.8°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#7E1536
RGBrgb(126, 21, 54)
HSLhsl(341, 71%, 29%)
HSVhsv(341, 83%, 49%)
CMYKcmyk(0%, 83.3%, 57.1%, 50.6%)
CIE-LABlab(27.41, 45.26, 8.36)
CIE-LCHlch(27.41, 46.03, 10.47°)
OKLaboklab(39.22% 0.1377 0.0212)
OKLCHoklch(39.22% 0.139 8.8)
XYZxyz(9.5391, 5.2397, 3.9984)
Luminance0.0524 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1536 #157E5D
analogous
#7E156B #7E1536 #7E2915
triadic
#7E1536 #367E15 #15367E
tetradic
#7E1536 #6B7E15 #157E5D #29157E
square
#7E1536 #6B7E15 #157E5D #29157E
split-complementary
#7E1536 #157E29 #156B7E
monochromatic
#1A040B #4A0C20 #7E1536 #B21E4C #DD3167

Accessibility & contrast

On white

10.26
#7E1536 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7E1536 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1536
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1536#FFFFFF#000000##FFFFFF
##7E15361.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323337
Deuteranopia (green-blind)
#4D4833
Tritanopia (blue-blind)
#8A0024
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1536;
/* rgb */ color: rgb(126, 21, 54);
/* oklch */ color: oklch(39.2% 0.139 8.8);
Tailwind
colors: {
  custom: {
    50: '#a95f6c',
    500: '#7e1536',
    950: '#000000',
  },
}
SCSS
$custom: #7e1536;
$custom-light: #a95f6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1536",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 54
  },
  "hsl": {
    "h": 341.143,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39217,
    "c": 0.13929,
    "h": 8.8
  },
  "luminance": 0.05238
}

Semantic roles & 50–950 ramp

primary
#7E1536
secondary
#3CB38E
accent
#EEB53A
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110507
muted
#80797A

Preview Lab

Preview with #7E1536

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

Preview Lab → · Contrast checker → · Palette generator →

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