#7E1545#7E1545

#7E1545 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.7% C 0.143 H 359.0°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#7E1545
RGBrgb(126, 21, 69)
HSLhsl(333, 71%, 29%)
HSVhsv(333, 83%, 49%)
CMYKcmyk(0%, 83.3%, 45.2%, 50.6%)
CIE-LABlab(27.85, 46.60, -1.12)
CIE-LCHlch(27.85, 46.62, 358.62°)
OKLaboklab(39.69% 0.1434 -0.0024)
OKLCHoklch(39.69% 0.143 359)
XYZxyz(9.9473, 5.4030, 6.1481)
Luminance0.0540 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1545 #157E4E
analogous
#7E157A #7E1545 #7E1915
triadic
#7E1545 #457E15 #15457E
tetradic
#7E1545 #7A7E15 #157E4E #19157E
square
#7E1545 #7A7E15 #157E4E #19157E
split-complementary
#7E1545 #157E19 #157A7E
monochromatic
#1A040E #4A0C28 #7E1545 #B21E62 #DD317F

Accessibility & contrast

On white

10.09
#7E1545 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7E1545 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1545
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1545#FFFFFF#000000##FFFFFF
##7E15451.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3546
Deuteranopia (green-blind)
#4B4943
Tritanopia (blue-blind)
#89002B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1545;
/* rgb */ color: rgb(126, 21, 69);
/* oklch */ color: oklch(39.7% 0.143 359.0);
Tailwind
colors: {
  custom: {
    50: '#a86078',
    500: '#7e1545',
    950: '#000000',
  },
}
SCSS
$custom: #7e1545;
$custom-light: #a86078;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1545",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 69
  },
  "hsl": {
    "h": 332.571,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3969,
    "c": 0.14339,
    "h": 359
  },
  "luminance": 0.05402
}

Semantic roles & 50–950 ramp

primary
#7E1545
secondary
#3CB37D
accent
#EE9C3A
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7E1545

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

Preview Lab → · Contrast checker → · Palette generator →

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