#7E1537#7E1537

#7E1537 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.2% C 0.139 H 8.1°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#7E1537
RGBrgb(126, 21, 55)
HSLhsl(341, 71%, 29%)
HSVhsv(341, 83%, 49%)
CMYKcmyk(0%, 83.3%, 56.3%, 50.6%)
CIE-LABlab(27.43, 45.34, 7.72)
CIE-LCHlch(27.43, 45.99, 9.67°)
OKLaboklab(39.25% 0.1381 0.0197)
OKLCHoklch(39.25% 0.139 8.1)
XYZxyz(9.5629, 5.2492, 4.1233)
Luminance0.0525 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1537 #157E5C
analogous
#7E156C #7E1537 #7E2715
triadic
#7E1537 #377E15 #15377E
tetradic
#7E1537 #6C7E15 #157E5C #27157E
square
#7E1537 #6C7E15 #157E5C #27157E
split-complementary
#7E1537 #157E27 #156C7E
monochromatic
#1A040B #4A0C20 #7E1537 #B21E4E #DD3168

Accessibility & contrast

On white

10.25
#7E1537 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1537
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1537#FFFFFF#000000##FFFFFF
##7E15371.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323338
Deuteranopia (green-blind)
#4D4834
Tritanopia (blue-blind)
#8A0024
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1537;
/* rgb */ color: rgb(126, 21, 55);
/* oklch */ color: oklch(39.2% 0.139 8.1);
Tailwind
colors: {
  custom: {
    50: '#a95f6d',
    500: '#7e1537',
    950: '#000000',
  },
}
SCSS
$custom: #7e1537;
$custom-light: #a95f6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1537",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 55
  },
  "hsl": {
    "h": 340.571,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39245,
    "c": 0.13947,
    "h": 8.1
  },
  "luminance": 0.05248
}

Semantic roles & 50–950 ramp

primary
#7E1537
secondary
#3CB38C
accent
#EEB43A
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110507
muted
#80797A

Preview Lab

Preview with #7E1537

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

Preview Lab → · Contrast checker → · Palette generator →

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