#7E1539#7E1539

#7E1539 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.3% C 0.140 H 6.8°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#7E1539
RGBrgb(126, 21, 57)
HSLhsl(339, 71%, 29%)
HSVhsv(339, 83%, 49%)
CMYKcmyk(0%, 83.3%, 54.8%, 50.6%)
CIE-LABlab(27.49, 45.50, 6.44)
CIE-LCHlch(27.49, 45.96, 8.06°)
OKLaboklab(39.3% 0.1389 0.0166)
OKLCHoklch(39.3% 0.14 6.8)
XYZxyz(9.6118, 5.2687, 4.3809)
Luminance0.0527 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1539 #157E5A
analogous
#7E156E #7E1539 #7E2615
triadic
#7E1539 #397E15 #15397E
tetradic
#7E1539 #6E7E15 #157E5A #26157E
square
#7E1539 #6E7E15 #157E5A #26157E
split-complementary
#7E1539 #157E26 #156E7E
monochromatic
#1A040C #4A0C21 #7E1539 #B21E51 #DD316C

Accessibility & contrast

On white

10.23
#7E1539 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7E1539 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1539
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1539#FFFFFF#000000##FFFFFF
##7E15391.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31343A
Deuteranopia (green-blind)
#4D4836
Tritanopia (blue-blind)
#8A0025
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1539;
/* rgb */ color: rgb(126, 21, 57);
/* oklch */ color: oklch(39.3% 0.140 6.8);
Tailwind
colors: {
  custom: {
    50: '#a95f6f',
    500: '#7e1539',
    950: '#000000',
  },
}
SCSS
$custom: #7e1539;
$custom-light: #a95f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1539",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 57
  },
  "hsl": {
    "h": 339.429,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39302,
    "c": 0.13987,
    "h": 6.8
  },
  "luminance": 0.05267
}

Semantic roles & 50–950 ramp

primary
#7E1539
secondary
#3CB38A
accent
#EEB03A
background
#FBF5F6
surface
#F6EAEC
border
#D0C6C7
text
#110507
muted
#80797A

Preview Lab

Preview with #7E1539

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

Preview Lab → · Contrast checker → · Palette generator →

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