#7E1A37#7E1A37

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

Color values

HEX#7E1A37
RGBrgb(126, 26, 55)
HSLhsl(343, 66%, 30%)
HSVhsv(343, 79%, 49%)
CMYKcmyk(0%, 79.4%, 56.3%, 50.6%)
CIE-LABlab(27.98, 43.78, 8.49)
CIE-LCHlch(27.98, 44.60, 10.97°)
OKLaboklab(39.65% 0.133 0.0216)
OKLCHoklch(39.65% 0.135 9.2)
XYZxyz(9.6641, 5.4516, 4.1571)
Luminance0.0545 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1A37 #1A7E61
analogous
#7E1A69 #7E1A37 #7E2F1A
triadic
#7E1A37 #377E1A #1A377E
tetradic
#7E1A37 #697E1A #1A7E61 #2F1A7E
square
#7E1A37 #697E1A #1A7E61 #2F1A7E
split-complementary
#7E1A37 #1A7E2F #1A697E
monochromatic
#19050B #4B1021 #7E1A37 #B1244D #D73C69

Accessibility & contrast

On white

10.05
#7E1A37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7E1A37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1A37
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1A37#FFFFFF#000000##FFFFFF
##7E1A371.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343538
Deuteranopia (green-blind)
#4E4935
Tritanopia (blue-blind)
#8A0026
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1a37;
/* rgb */ color: rgb(126, 26, 55);
/* oklch */ color: oklch(39.7% 0.135 9.2);
Tailwind
colors: {
  custom: {
    50: '#a9616d',
    500: '#7e1a37',
    950: '#000000',
  },
}
SCSS
$custom: #7e1a37;
$custom-light: #a9616d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1a37",
  "rgb": {
    "r": 126,
    "g": 26,
    "b": 55
  },
  "hsl": {
    "h": 342.6,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39651,
    "c": 0.13477,
    "h": 9.2
  },
  "luminance": 0.0545
}

Semantic roles & 50–950 ramp

primary
#7E1A37
secondary
#42B291
accent
#E9B83F
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110507
muted
#807A7A

Preview Lab

Preview with #7E1A37

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

Preview Lab → · Contrast checker → · Palette generator →

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