#7E1936#7E1936

#7E1936 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.5% C 0.136 H 9.6°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#7E1936
RGBrgb(126, 25, 54)
HSLhsl(343, 67%, 30%)
HSVhsv(343, 80%, 49%)
CMYKcmyk(0%, 80.2%, 57.1%, 50.6%)
CIE-LABlab(27.84, 44.03, 8.97)
CIE-LCHlch(27.84, 44.93, 11.51°)
OKLaboklab(39.54% 0.1337 0.0227)
OKLCHoklch(39.54% 0.136 9.6)
XYZxyz(9.6186, 5.3986, 4.0249)
Luminance0.0540 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1936 #197E61
analogous
#7E1969 #7E1936 #7E2E19
triadic
#7E1936 #367E19 #19367E
tetradic
#7E1936 #697E19 #197E61 #2E197E
square
#7E1936 #697E19 #197E61 #2E197E
split-complementary
#7E1936 #197E2E #19697E
monochromatic
#1A050B #4B0F20 #7E1936 #B1234C #D83A67

Accessibility & contrast

On white

10.10
#7E1936 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7E1936 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1936
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1936#FFFFFF#000000##FFFFFF
##7E19361.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343536
Deuteranopia (green-blind)
#4E4933
Tritanopia (blue-blind)
#8A0025
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1936;
/* rgb */ color: rgb(126, 25, 54);
/* oklch */ color: oklch(39.5% 0.136 9.6);
Tailwind
colors: {
  custom: {
    50: '#a9606c',
    500: '#7e1936',
    950: '#000000',
  },
}
SCSS
$custom: #7e1936;
$custom-light: #a9606c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1936",
  "rgb": {
    "r": 126,
    "g": 25,
    "b": 54
  },
  "hsl": {
    "h": 342.772,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39537,
    "c": 0.1356,
    "h": 9.6
  },
  "luminance": 0.05397
}

Semantic roles & 50–950 ramp

primary
#7E1936
secondary
#41B292
accent
#EAB83E
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110507
muted
#807A7A

Preview Lab

Preview with #7E1936

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

Preview Lab → · Contrast checker → · Palette generator →

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