#7E1A38#7E1A38

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

Color values

HEX#7E1A38
RGBrgb(126, 26, 56)
HSLhsl(342, 66%, 30%)
HSVhsv(342, 79%, 49%)
CMYKcmyk(0%, 79.4%, 55.6%, 50.6%)
CIE-LABlab(28.01, 43.86, 7.85)
CIE-LCHlch(28.01, 44.56, 10.15°)
OKLaboklab(39.68% 0.1334 0.0201)
OKLCHoklch(39.68% 0.135 8.5)
XYZxyz(9.6883, 5.4613, 4.2846)
Luminance0.0546 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1A38 #1A7E60
analogous
#7E1A6A #7E1A38 #7E2E1A
triadic
#7E1A38 #387E1A #1A387E
tetradic
#7E1A38 #6A7E1A #1A7E60 #2E1A7E
square
#7E1A38 #6A7E1A #1A7E60 #2E1A7E
split-complementary
#7E1A38 #1A7E2E #1A6A7E
monochromatic
#19050B #4B1021 #7E1A38 #B1244F #D73C6A

Accessibility & contrast

On white

10.04
#7E1A38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1A38
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1A38#FFFFFF#000000##FFFFFF
##7E1A381.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343539
Deuteranopia (green-blind)
#4E4936
Tritanopia (blue-blind)
#8A0027
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1a38;
/* rgb */ color: rgb(126, 26, 56);
/* oklch */ color: oklch(39.7% 0.135 8.5);
Tailwind
colors: {
  custom: {
    50: '#a9616e',
    500: '#7e1a38',
    950: '#000000',
  },
}
SCSS
$custom: #7e1a38;
$custom-light: #a9616e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1a38",
  "rgb": {
    "r": 126,
    "g": 26,
    "b": 56
  },
  "hsl": {
    "h": 342,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39679,
    "c": 0.13494,
    "h": 8.5
  },
  "luminance": 0.0546
}

Semantic roles & 50–950 ramp

primary
#7E1A38
secondary
#42B290
accent
#E9B63F
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110507
muted
#807A7A

Preview Lab

Preview with #7E1A38

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

Preview Lab → · Contrast checker → · Palette generator →

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