#7E114C#7E114C

#7E114C is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.7% C 0.150 H 354.2°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#7E114C
RGBrgb(126, 17, 76)
HSLhsl(328, 76%, 28%)
HSVhsv(328, 87%, 49%)
CMYKcmyk(0%, 86.5%, 39.7%, 50.6%)
CIE-LABlab(27.74, 48.39, -5.98)
CIE-LCHlch(27.74, 48.76, 352.95°)
OKLaboklab(39.69% 0.149 -0.0152)
OKLCHoklch(39.69% 0.15 354.2)
XYZxyz(10.1099, 5.3596, 7.3382)
Luminance0.0536 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E114C #117E43
analogous
#79117E #7E114C #7E1115
triadic
#7E114C #4C7E11 #114C7E
tetradic
#7E114C #7E7911 #117E43 #11157E
square
#7E114C #7E7911 #117E43 #11157E
split-complementary
#7E114C #157E11 #117E79
monochromatic
#1B0410 #480A2B #7E114C #B4186D #E2278C

Accessibility & contrast

On white

10.14
#7E114C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7E114C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E114C
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E114C#FFFFFF#000000##FFFFFF
##7E114C1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A354D
Deuteranopia (green-blind)
#48484A
Tritanopia (blue-blind)
#89002E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e114c;
/* rgb */ color: rgb(126, 17, 76);
/* oklch */ color: oklch(39.7% 0.150 354.2);
Tailwind
colors: {
  custom: {
    50: '#a85f7e',
    500: '#7e114c',
    950: '#000000',
  },
}
SCSS
$custom: #7e114c;
$custom-light: #a85f7e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e114c",
  "rgb": {
    "r": 126,
    "g": 17,
    "b": 76
  },
  "hsl": {
    "h": 327.523,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39686,
    "c": 0.14975,
    "h": 354.2
  },
  "luminance": 0.05358
}

Semantic roles & 50–950 ramp

primary
#7E114C
secondary
#37B470
accent
#F38C35
background
#FAF5F7
surface
#F4EAEE
border
#CEC6C9
text
#100509
muted
#7F797B

Preview Lab

Preview with #7E114C

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

Preview Lab → · Contrast checker → · Palette generator →

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