#7E115C#7E115C

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

Color values

HEX#7E115C
RGBrgb(126, 17, 92)
HSLhsl(319, 76%, 28%)
HSVhsv(319, 87%, 49%)
CMYKcmyk(0%, 86.5%, 27%, 50.6%)
CIE-LABlab(28.41, 50.29, -15.56)
CIE-LCHlch(28.41, 52.64, 342.81°)
OKLaboklab(40.39% 0.1528 -0.0415)
OKLCHoklch(40.39% 0.158 344.8)
XYZxyz(10.7369, 5.6105, 10.6406)
Luminance0.0561 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E115C #117E33
analogous
#6A117E #7E115C #7E1125
triadic
#7E115C #5C7E11 #115C7E
tetradic
#7E115C #7E6A11 #117E33 #11257E
square
#7E115C #7E6A11 #117E33 #11257E
split-complementary
#7E115C #257E11 #117E6A
monochromatic
#1B0414 #480A35 #7E115C #B41883 #E227A8

Accessibility & contrast

On white

9.90
#7E115C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E115C
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E115C#FFFFFF#000000##FFFFFF
##7E115C1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22385E
Deuteranopia (green-blind)
#44495A
Tritanopia (blue-blind)
#870F36
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e115c;
/* rgb */ color: rgb(126, 17, 92);
/* oklch */ color: oklch(40.4% 0.158 344.8);
Tailwind
colors: {
  custom: {
    50: '#a75f8a',
    500: '#7e115c',
    950: '#000000',
  },
}
SCSS
$custom: #7e115c;
$custom-light: #a75f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e115c",
  "rgb": {
    "r": 126,
    "g": 17,
    "b": 92
  },
  "hsl": {
    "h": 318.716,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40392,
    "c": 0.1583,
    "h": 344.8
  },
  "luminance": 0.05609
}

Semantic roles & 50–950 ramp

primary
#7E115C
secondary
#37B45E
accent
#F37035
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7E115C

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

Preview Lab → · Contrast checker → · Palette generator →

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