#7E1031#7E1031

#7E1031 is a dark, vivid pink. Relative luminance 0.050; OKLCH L 38.7% C 0.142 H 11.0°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#7E1031
RGBrgb(126, 16, 49)
HSLhsl(342, 77%, 28%)
HSVhsv(342, 87%, 49%)
CMYKcmyk(0%, 87.3%, 61.1%, 50.6%)
CIE-LABlab(26.82, 46.21, 10.94)
CIE-LCHlch(26.82, 47.49, 13.33°)
OKLaboklab(38.74% 0.1399 0.0272)
OKLCHoklch(38.74% 0.143 11)
XYZxyz(9.3448, 5.0294, 3.3838)
Luminance0.0503 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1031 #107E5D
analogous
#7E1068 #7E1031 #7E2610
triadic
#7E1031 #317E10 #10317E
tetradic
#7E1031 #687E10 #107E5D #26107E
square
#7E1031 #687E10 #107E5D #26107E
split-complementary
#7E1031 #107E26 #10687E
monochromatic
#1B030B #48091C #7E1031 #B41746 #E3255E

Accessibility & contrast

On white

10.47
#7E1031 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#7E1031 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1031
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1031#FFFFFF#000000##FFFFFF
##7E10311.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313131
Deuteranopia (green-blind)
#4D472E
Tritanopia (blue-blind)
#8A001F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e1031;
/* rgb */ color: rgb(126, 16, 49);
/* oklch */ color: oklch(38.7% 0.142 11.0);
Tailwind
colors: {
  custom: {
    50: '#aa5d68',
    500: '#7e1031',
    950: '#000000',
  },
}
SCSS
$custom: #7e1031;
$custom-light: #aa5d68;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1031",
  "rgb": {
    "r": 126,
    "g": 16,
    "b": 49
  },
  "hsl": {
    "h": 342,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38743,
    "c": 0.1425,
    "h": 11
  },
  "luminance": 0.05028
}

Semantic roles & 50–950 ramp

primary
#7E1031
secondary
#36B48E
accent
#F4BA34
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7E1031

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

Preview Lab → · Contrast checker → · Palette generator →

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