#7E104B#7E104B

#7E104B is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.6% C 0.150 H 354.7°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#7E104B
RGBrgb(126, 16, 75)
HSLhsl(328, 77%, 28%)
HSVhsv(328, 87%, 49%)
CMYKcmyk(0%, 87.3%, 40.5%, 50.6%)
CIE-LABlab(27.62, 48.52, -5.50)
CIE-LCHlch(27.62, 48.83, 353.54°)
OKLaboklab(39.59% 0.1495 -0.0139)
OKLCHoklch(39.59% 0.15 354.7)
XYZxyz(10.0602, 5.3155, 7.1515)
Luminance0.0531 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E104B #107E43
analogous
#7A107E #7E104B #7E1014
triadic
#7E104B #4B7E10 #104B7E
tetradic
#7E104B #7E7A10 #107E43 #10147E
square
#7E104B #7E7A10 #107E43 #10147E
split-complementary
#7E104B #147E10 #107E7A
monochromatic
#1B0310 #48092B #7E104B #B4176B #E3258B

Accessibility & contrast

On white

10.18
#7E104B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7E104B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E104B
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E104B#FFFFFF#000000##FFFFFF
##7E104B1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A344C
Deuteranopia (green-blind)
#484849
Tritanopia (blue-blind)
#89002D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e104b;
/* rgb */ color: rgb(126, 16, 75);
/* oklch */ color: oklch(39.6% 0.150 354.7);
Tailwind
colors: {
  custom: {
    50: '#a85e7d',
    500: '#7e104b',
    950: '#000000',
  },
}
SCSS
$custom: #7e104b;
$custom-light: #a85e7d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e104b",
  "rgb": {
    "r": 126,
    "g": 16,
    "b": 75
  },
  "hsl": {
    "h": 327.818,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.39586,
    "c": 0.1501,
    "h": 354.7
  },
  "luminance": 0.05314
}

Semantic roles & 50–950 ramp

primary
#7E104B
secondary
#36B470
accent
#F48D34
background
#FAF5F7
surface
#F4EAEE
border
#CEC6C9
text
#100509
muted
#7F797B

Preview Lab

Preview with #7E104B

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

Preview Lab → · Contrast checker → · Palette generator →

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