#7E114B#7E114B

#7E114B is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.6% C 0.149 H 354.8°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#7E114B
RGBrgb(126, 17, 75)
HSLhsl(328, 76%, 28%)
HSVhsv(328, 87%, 49%)
CMYKcmyk(0%, 86.5%, 40.5%, 50.6%)
CIE-LABlab(27.70, 48.28, -5.37)
CIE-LCHlch(27.70, 48.58, 353.65°)
OKLaboklab(39.65% 0.1487 -0.0136)
OKLCHoklch(39.65% 0.149 354.8)
XYZxyz(10.0754, 5.3458, 7.1565)
Luminance0.0534 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E114B #117E44
analogous
#7A117E #7E114B #7E1115
triadic
#7E114B #4B7E11 #114B7E
tetradic
#7E114B #7E7A11 #117E44 #11157E
square
#7E114B #7E7A11 #117E44 #11157E
split-complementary
#7E114B #157E11 #117E7A
monochromatic
#1B0410 #480A2B #7E114B #B4186B #E2278B

Accessibility & contrast

On white

10.15
#7E114B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E114B
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E114B#FFFFFF#000000##FFFFFF
##7E114B1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A354C
Deuteranopia (green-blind)
#484849
Tritanopia (blue-blind)
#89002D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e114b;
/* rgb */ color: rgb(126, 17, 75);
/* oklch */ color: oklch(39.6% 0.149 354.8);
Tailwind
colors: {
  custom: {
    50: '#a85f7d',
    500: '#7e114b',
    950: '#000000',
  },
}
SCSS
$custom: #7e114b;
$custom-light: #a85f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e114b",
  "rgb": {
    "r": 126,
    "g": 17,
    "b": 75
  },
  "hsl": {
    "h": 328.073,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39646,
    "c": 0.14931,
    "h": 354.8
  },
  "luminance": 0.05345
}

Semantic roles & 50–950 ramp

primary
#7E114B
secondary
#37B471
accent
#F38E35
background
#FAF5F7
surface
#F4EAEE
border
#CEC6C9
text
#100509
muted
#7F797B

Preview Lab

Preview with #7E114B

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

Preview Lab → · Contrast checker → · Palette generator →

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