#7E1544#7E1544

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

Color values

HEX#7E1544
RGBrgb(126, 21, 68)
HSLhsl(333, 71%, 29%)
HSVhsv(333, 83%, 49%)
CMYKcmyk(0%, 83.3%, 46%, 50.6%)
CIE-LABlab(27.82, 46.51, -0.50)
CIE-LCHlch(27.82, 46.51, 359.39°)
OKLaboklab(39.66% 0.143 -0.0008)
OKLCHoklch(39.66% 0.143 359.7)
XYZxyz(9.9165, 5.3906, 5.9860)
Luminance0.0539 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1544 #157E4F
analogous
#7E1579 #7E1544 #7E1B15
triadic
#7E1544 #447E15 #15447E
tetradic
#7E1544 #797E15 #157E4F #1B157E
square
#7E1544 #797E15 #157E4F #1B157E
split-complementary
#7E1544 #157E1B #15797E
monochromatic
#1A040E #4A0C28 #7E1544 #B21E60 #DD317E

Accessibility & contrast

On white

10.11
#7E1544 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1544
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1544#FFFFFF#000000##FFFFFF
##7E15441.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1544;
/* rgb */ color: rgb(126, 21, 68);
/* oklch */ color: oklch(39.7% 0.143 359.7);
Tailwind
colors: {
  custom: {
    50: '#a86077',
    500: '#7e1544',
    950: '#000000',
  },
}
SCSS
$custom: #7e1544;
$custom-light: #a86077;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1544",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 68
  },
  "hsl": {
    "h": 333.143,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39655,
    "c": 0.14302,
    "h": 359.7
  },
  "luminance": 0.05389
}

Semantic roles & 50–950 ramp

primary
#7E1544
secondary
#3CB37E
accent
#EE9D3A
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110508
muted
#807A7B

Preview Lab

Preview with #7E1544

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

Preview Lab → · Contrast checker → · Palette generator →

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