#7E1A35#7E1A35

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

Color values

HEX#7E1A35
RGBrgb(126, 26, 53)
HSLhsl(344, 66%, 30%)
HSVhsv(344, 79%, 49%)
CMYKcmyk(0%, 79.4%, 57.9%, 50.6%)
CIE-LABlab(27.93, 43.62, 9.77)
CIE-LCHlch(27.93, 44.70, 12.62°)
OKLaboklab(39.6% 0.1322 0.0246)
OKLCHoklch(39.6% 0.134 10.5)
XYZxyz(9.6171, 5.4328, 3.9097)
Luminance0.0543 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1A35 #1A7E63
analogous
#7E1A67 #7E1A35 #7E311A
triadic
#7E1A35 #357E1A #1A357E
tetradic
#7E1A35 #677E1A #1A7E63 #311A7E
square
#7E1A35 #677E1A #1A7E63 #311A7E
split-complementary
#7E1A35 #1A7E31 #1A677E
monochromatic
#19050B #4B1020 #7E1A35 #B1244A #D73C66

Accessibility & contrast

On white

10.07
#7E1A35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1A35
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1A35#FFFFFF#000000##FFFFFF
##7E1A351.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1a35;
/* rgb */ color: rgb(126, 26, 53);
/* oklch */ color: oklch(39.6% 0.134 10.5);
Tailwind
colors: {
  custom: {
    50: '#a9616b',
    500: '#7e1a35',
    950: '#000000',
  },
}
SCSS
$custom: #7e1a35;
$custom-light: #a9616b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1a35",
  "rgb": {
    "r": 126,
    "g": 26,
    "b": 53
  },
  "hsl": {
    "h": 343.8,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39597,
    "c": 0.13448,
    "h": 10.5
  },
  "luminance": 0.05431
}

Semantic roles & 50–950 ramp

primary
#7E1A35
secondary
#42B294
accent
#E9BB3F
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110506
muted
#807A7A

Preview Lab

Preview with #7E1A35

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

Preview Lab → · Contrast checker → · Palette generator →

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