#7E115F#7E115F

#7E115F is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.5% C 0.160 H 343.2°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#7E115F
RGBrgb(126, 17, 95)
HSLhsl(317, 76%, 28%)
HSVhsv(317, 87%, 49%)
CMYKcmyk(0%, 86.5%, 24.6%, 50.6%)
CIE-LABlab(28.55, 50.69, -17.30)
CIE-LCHlch(28.55, 53.56, 341.15°)
OKLaboklab(40.54% 0.1533 -0.0464)
OKLCHoklch(40.54% 0.16 343.2)
XYZxyz(10.8706, 5.6639, 11.3450)
Luminance0.0566 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E115F #117E30
analogous
#66117E #7E115F #7E1128
triadic
#7E115F #5F7E11 #115F7E
tetradic
#7E115F #7E6611 #117E30 #11287E
square
#7E115F #7E6611 #117E30 #11287E
split-complementary
#7E115F #287E11 #117E66
monochromatic
#1B0414 #480A36 #7E115F #B41888 #E227AD

Accessibility & contrast

On white

9.85
#7E115F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7E115F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E115F
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E115F#FFFFFF#000000##FFFFFF
##7E115F1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203861
Deuteranopia (green-blind)
#434A5D
Tritanopia (blue-blind)
#871138
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e115f;
/* rgb */ color: rgb(126, 17, 95);
/* oklch */ color: oklch(40.5% 0.160 343.2);
Tailwind
colors: {
  custom: {
    50: '#a75f8c',
    500: '#7e115f',
    950: '#000000',
  },
}
SCSS
$custom: #7e115f;
$custom-light: #a75f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e115f",
  "rgb": {
    "r": 126,
    "g": 17,
    "b": 95
  },
  "hsl": {
    "h": 317.064,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40539,
    "c": 0.16014,
    "h": 343.2
  },
  "luminance": 0.05663
}

Semantic roles & 50–950 ramp

primary
#7E115F
secondary
#37B45A
accent
#F36B35
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7E115F

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

Preview Lab → · Contrast checker → · Palette generator →

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