#7E1534#7E1534

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

Color values

HEX#7E1534
RGBrgb(126, 21, 52)
HSLhsl(342, 71%, 29%)
HSVhsv(342, 83%, 49%)
CMYKcmyk(0%, 83.3%, 58.7%, 50.6%)
CIE-LABlab(27.36, 45.10, 9.65)
CIE-LCHlch(27.36, 46.12, 12.07°)
OKLaboklab(39.16% 0.1368 0.0243)
OKLCHoklch(39.16% 0.139 10)
XYZxyz(9.4931, 5.2213, 3.7561)
Luminance0.0522 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1534 #157E5F
analogous
#7E1569 #7E1534 #7E2B15
triadic
#7E1534 #347E15 #15347E
tetradic
#7E1534 #697E15 #157E5F #2B157E
square
#7E1534 #697E15 #157E5F #2B157E
split-complementary
#7E1534 #157E2B #15697E
monochromatic
#1A040B #4A0C1E #7E1534 #B21E4A #DD3164

Accessibility & contrast

On white

10.27
#7E1534 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1534
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1534#FFFFFF#000000##FFFFFF
##7E15341.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333334
Deuteranopia (green-blind)
#4E4831
Tritanopia (blue-blind)
#8A0023
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1534;
/* rgb */ color: rgb(126, 21, 52);
/* oklch */ color: oklch(39.2% 0.139 10.0);
Tailwind
colors: {
  custom: {
    50: '#a95f6b',
    500: '#7e1534',
    950: '#000000',
  },
}
SCSS
$custom: #7e1534;
$custom-light: #a95f6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1534",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 52
  },
  "hsl": {
    "h": 342.286,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39163,
    "c": 0.13897,
    "h": 10
  },
  "luminance": 0.0522
}

Semantic roles & 50–950 ramp

primary
#7E1534
secondary
#3CB390
accent
#EEB93A
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7E1534

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

Preview Lab → · Contrast checker → · Palette generator →

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