#7E1543#7E1543

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

Color values

HEX#7E1543
RGBrgb(126, 21, 67)
HSLhsl(334, 71%, 29%)
HSVhsv(334, 83%, 49%)
CMYKcmyk(0%, 83.3%, 46.8%, 50.6%)
CIE-LABlab(27.79, 46.41, 0.13)
CIE-LCHlch(27.79, 46.41, 0.16°)
OKLaboklab(39.62% 0.1427 0.0008)
OKLCHoklch(39.62% 0.143 0.3)
XYZxyz(9.8863, 5.3785, 5.8267)
Luminance0.0538 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1543 #157E50
analogous
#7E1578 #7E1543 #7E1B15
triadic
#7E1543 #437E15 #15437E
tetradic
#7E1543 #787E15 #157E50 #1B157E
square
#7E1543 #787E15 #157E50 #1B157E
split-complementary
#7E1543 #157E1B #15787E
monochromatic
#1A040E #4A0C27 #7E1543 #B21E5F #DD317C

Accessibility & contrast

On white

10.12
#7E1543 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1543
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1543#FFFFFF#000000##FFFFFF
##7E15431.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3544
Deuteranopia (green-blind)
#4B4941
Tritanopia (blue-blind)
#89002A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1543;
/* rgb */ color: rgb(126, 21, 67);
/* oklch */ color: oklch(39.6% 0.143 0.3);
Tailwind
colors: {
  custom: {
    50: '#a85f76',
    500: '#7e1543',
    950: '#000000',
  },
}
SCSS
$custom: #7e1543;
$custom-light: #a85f76;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1543",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 67
  },
  "hsl": {
    "h": 333.714,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3962,
    "c": 0.14267,
    "h": 0.3
  },
  "luminance": 0.05377
}

Semantic roles & 50–950 ramp

primary
#7E1543
secondary
#3CB37F
accent
#EE9F3A
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110508
muted
#807A7B

Preview Lab

Preview with #7E1543

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

Preview Lab → · Contrast checker → · Palette generator →

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