#7E105B#7E105B

#7E105B is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.3% C 0.158 H 345.3°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#7E105B
RGBrgb(126, 16, 91)
HSLhsl(319, 77%, 28%)
HSVhsv(319, 87%, 49%)
CMYKcmyk(0%, 87.3%, 27.8%, 50.6%)
CIE-LABlab(28.28, 50.39, -15.10)
CIE-LCHlch(28.28, 52.61, 343.32°)
OKLaboklab(40.29% 0.1533 -0.0402)
OKLCHoklch(40.29% 0.158 345.3)
XYZxyz(10.6783, 5.5628, 10.4069)
Luminance0.0556 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E105B #107E33
analogous
#6A107E #7E105B #7E1024
triadic
#7E105B #5B7E10 #105B7E
tetradic
#7E105B #7E6A10 #107E33 #10247E
square
#7E105B #7E6A10 #107E33 #10247E
split-complementary
#7E105B #247E10 #107E6A
monochromatic
#1B0314 #480934 #7E105B #B41782 #E325A7

Accessibility & contrast

On white

9.94
#7E105B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7E105B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E105B
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E105B#FFFFFF#000000##FFFFFF
##7E105B1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22375D
Deuteranopia (green-blind)
#444959
Tritanopia (blue-blind)
#870D36
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e105b;
/* rgb */ color: rgb(126, 16, 91);
/* oklch */ color: oklch(40.3% 0.158 345.3);
Tailwind
colors: {
  custom: {
    50: '#a85f89',
    500: '#7e105b',
    950: '#000000',
  },
}
SCSS
$custom: #7e105b;
$custom-light: #a85f89;
$custom-dark: #000000;
JSON
{
  "hex": "#7e105b",
  "rgb": {
    "r": 126,
    "g": 16,
    "b": 91
  },
  "hsl": {
    "h": 319.091,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40286,
    "c": 0.15849,
    "h": 345.3
  },
  "luminance": 0.05562
}

Semantic roles & 50–950 ramp

primary
#7E105B
secondary
#36B45E
accent
#F47134
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7E105B

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

Preview Lab → · Contrast checker → · Palette generator →

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