#7E1541#7E1541

#7E1541 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.6% C 0.142 H 1.6°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#7E1541
RGBrgb(126, 21, 65)
HSLhsl(335, 71%, 29%)
HSVhsv(335, 83%, 49%)
CMYKcmyk(0%, 83.3%, 48.4%, 50.6%)
CIE-LABlab(27.72, 46.21, 1.38)
CIE-LCHlch(27.72, 46.23, 1.71°)
OKLaboklab(39.55% 0.142 0.004)
OKLCHoklch(39.55% 0.142 1.6)
XYZxyz(9.8273, 5.3550, 5.5161)
Luminance0.0535 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1541 #157E52
analogous
#7E1576 #7E1541 #7E1D15
triadic
#7E1541 #417E15 #15417E
tetradic
#7E1541 #767E15 #157E52 #1D157E
square
#7E1541 #767E15 #157E52 #1D157E
split-complementary
#7E1541 #157E1D #15767E
monochromatic
#1A040E #4A0C26 #7E1541 #B21E5C #DD3179

Accessibility & contrast

On white

10.14
#7E1541 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7E1541 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1541
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1541#FFFFFF#000000##FFFFFF
##7E15411.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3542
Deuteranopia (green-blind)
#4B493F
Tritanopia (blue-blind)
#890029
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1541;
/* rgb */ color: rgb(126, 21, 65);
/* oklch */ color: oklch(39.6% 0.142 1.6);
Tailwind
colors: {
  custom: {
    50: '#a95f75',
    500: '#7e1541',
    950: '#000000',
  },
}
SCSS
$custom: #7e1541;
$custom-light: #a95f75;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1541",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 65
  },
  "hsl": {
    "h": 334.857,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39552,
    "c": 0.14201,
    "h": 1.6
  },
  "luminance": 0.05354
}

Semantic roles & 50–950 ramp

primary
#7E1541
secondary
#3CB381
accent
#EEA33A
background
#FAF5F7
surface
#F5EAED
border
#CFC6C8
text
#110508
muted
#80797B

Preview Lab

Preview with #7E1541

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

Preview Lab → · Contrast checker → · Palette generator →

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