#7E1533#7E1533

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

Color values

HEX#7E1533
RGBrgb(126, 21, 51)
HSLhsl(343, 71%, 29%)
HSVhsv(343, 83%, 49%)
CMYKcmyk(0%, 83.3%, 59.5%, 50.6%)
CIE-LABlab(27.33, 45.03, 10.29)
CIE-LCHlch(27.33, 46.19, 12.87°)
OKLaboklab(39.14% 0.1364 0.0257)
OKLCHoklch(39.14% 0.139 10.7)
XYZxyz(9.4708, 5.2124, 3.6387)
Luminance0.0521 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1533 #157E60
analogous
#7E1568 #7E1533 #7E2C15
triadic
#7E1533 #337E15 #15337E
tetradic
#7E1533 #687E15 #157E60 #2C157E
square
#7E1533 #687E15 #157E60 #2C157E
split-complementary
#7E1533 #157E2C #15687E
monochromatic
#1A040B #4A0C1E #7E1533 #B21E48 #DD3162

Accessibility & contrast

On white

10.28
#7E1533 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7E1533 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1533
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1533#FFFFFF#000000##FFFFFF
##7E15331.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333333
Deuteranopia (green-blind)
#4E4830
Tritanopia (blue-blind)
#8A0022
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1533;
/* rgb */ color: rgb(126, 21, 51);
/* oklch */ color: oklch(39.1% 0.139 10.7);
Tailwind
colors: {
  custom: {
    50: '#aa5f6a',
    500: '#7e1533',
    950: '#000000',
  },
}
SCSS
$custom: #7e1533;
$custom-light: #aa5f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1533",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 51
  },
  "hsl": {
    "h": 342.857,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39137,
    "c": 0.13883,
    "h": 10.7
  },
  "luminance": 0.05211
}

Semantic roles & 50–950 ramp

primary
#7E1533
secondary
#3CB391
accent
#EEBB3A
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7E1533

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

Preview Lab → · Contrast checker → · Palette generator →

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