#7E105C#7E105C

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

Color values

HEX#7E105C
RGBrgb(126, 16, 92)
HSLhsl(319, 77%, 28%)
HSVhsv(319, 87%, 49%)
CMYKcmyk(0%, 87.3%, 27%, 50.6%)
CIE-LABlab(28.33, 50.52, -15.68)
CIE-LCHlch(28.33, 52.90, 342.76°)
OKLaboklab(40.33% 0.1535 -0.0418)
OKLCHoklch(40.33% 0.159 344.8)
XYZxyz(10.7217, 5.5801, 10.6356)
Luminance0.0558 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E105C #107E32
analogous
#69107E #7E105C #7E1025
triadic
#7E105C #5C7E10 #105C7E
tetradic
#7E105C #7E6910 #107E32 #10257E
square
#7E105C #7E6910 #107E32 #10257E
split-complementary
#7E105C #257E10 #107E69
monochromatic
#1B0314 #480934 #7E105C #B41784 #E325A9

Accessibility & contrast

On white

9.93
#7E105C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7E105C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E105C
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E105C#FFFFFF#000000##FFFFFF
##7E105C1.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21375E
Deuteranopia (green-blind)
#43495A
Tritanopia (blue-blind)
#870E36
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e105c;
/* rgb */ color: rgb(126, 16, 92);
/* oklch */ color: oklch(40.3% 0.159 344.8);
Tailwind
colors: {
  custom: {
    50: '#a75f8a',
    500: '#7e105c',
    950: '#000000',
  },
}
SCSS
$custom: #7e105c;
$custom-light: #a75f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e105c",
  "rgb": {
    "r": 126,
    "g": 16,
    "b": 92
  },
  "hsl": {
    "h": 318.545,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40334,
    "c": 0.15909,
    "h": 344.8
  },
  "luminance": 0.05579
}

Semantic roles & 50–950 ramp

primary
#7E105C
secondary
#36B45D
accent
#F46F34
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7E105C

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

Preview Lab → · Contrast checker → · Palette generator →

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