#7E1038#7E1038

#7E1038 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.9% C 0.144 H 6.6°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#7E1038
RGBrgb(126, 16, 56)
HSLhsl(338, 77%, 28%)
HSVhsv(338, 87%, 49%)
CMYKcmyk(0%, 87.3%, 55.6%, 50.6%)
CIE-LABlab(27.00, 46.74, 6.43)
CIE-LCHlch(27.00, 47.18, 7.84°)
OKLaboklab(38.93% 0.1427 0.0166)
OKLCHoklch(38.93% 0.144 6.6)
XYZxyz(9.5042, 5.0931, 4.2232)
Luminance0.0509 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1038 #107E56
analogous
#7E106F #7E1038 #7E1F10
triadic
#7E1038 #387E10 #10387E
tetradic
#7E1038 #6F7E10 #107E56 #1F107E
square
#7E1038 #6F7E10 #107E56 #1F107E
split-complementary
#7E1038 #107E1F #106F7E
monochromatic
#1B030C #480920 #7E1038 #B41750 #E3256A

Accessibility & contrast

On white

10.40
#7E1038 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#7E1038 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1038
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1038#FFFFFF#000000##FFFFFF
##7E10381.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303239
Deuteranopia (green-blind)
#4C4735
Tritanopia (blue-blind)
#8A0023
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1038;
/* rgb */ color: rgb(126, 16, 56);
/* oklch */ color: oklch(38.9% 0.144 6.6);
Tailwind
colors: {
  custom: {
    50: '#a95e6e',
    500: '#7e1038',
    950: '#000000',
  },
}
SCSS
$custom: #7e1038;
$custom-light: #a95e6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1038",
  "rgb": {
    "r": 126,
    "g": 16,
    "b": 56
  },
  "hsl": {
    "h": 338.182,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38934,
    "c": 0.1437,
    "h": 6.6
  },
  "luminance": 0.05092
}

Semantic roles & 50–950 ramp

primary
#7E1038
secondary
#36B486
accent
#F4AE34
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110507
muted
#80797A

Preview Lab

Preview with #7E1038

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

Preview Lab → · Contrast checker → · Palette generator →

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