#7E114F#7E114F

#7E114F is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.8% C 0.151 H 352.3°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#7E114F
RGBrgb(126, 17, 79)
HSLhsl(326, 76%, 28%)
HSVhsv(326, 87%, 49%)
CMYKcmyk(0%, 86.5%, 37.3%, 50.6%)
CIE-LABlab(27.85, 48.72, -7.81)
CIE-LCHlch(27.85, 49.34, 350.89°)
OKLaboklab(39.81% 0.1498 -0.0201)
OKLCHoklch(39.81% 0.151 352.3)
XYZxyz(10.2166, 5.4023, 7.9004)
Luminance0.0540 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E114F #117E40
analogous
#77117E #7E114F #7E1118
triadic
#7E114F #4F7E11 #114F7E
tetradic
#7E114F #7E7711 #117E40 #11187E
square
#7E114F #7E7711 #117E40 #11187E
split-complementary
#7E114F #187E11 #117E77
monochromatic
#1B0411 #480A2D #7E114F #B41871 #E22792

Accessibility & contrast

On white

10.10
#7E114F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7E114F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E114F
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E114F#FFFFFF#000000##FFFFFF
##7E114F1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283550
Deuteranopia (green-blind)
#47494D
Tritanopia (blue-blind)
#88012F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e114f;
/* rgb */ color: rgb(126, 17, 79);
/* oklch */ color: oklch(39.8% 0.151 352.3);
Tailwind
colors: {
  custom: {
    50: '#a85f80',
    500: '#7e114f',
    950: '#000000',
  },
}
SCSS
$custom: #7e114f;
$custom-light: #a85f80;
$custom-dark: #000000;
JSON
{
  "hex": "#7e114f",
  "rgb": {
    "r": 126,
    "g": 17,
    "b": 79
  },
  "hsl": {
    "h": 325.872,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39808,
    "c": 0.15118,
    "h": 352.3
  },
  "luminance": 0.05401
}

Semantic roles & 50–950 ramp

primary
#7E114F
secondary
#37B46D
accent
#F38735
background
#FAF5F7
surface
#F4EAEE
border
#CEC6C9
text
#10050A
muted
#7F797C

Preview Lab

Preview with #7E114F

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

Preview Lab → · Contrast checker → · Palette generator →

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