#7E135F#7E135F

#7E135F is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.7% C 0.158 H 343.3°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#7E135F
RGBrgb(126, 19, 95)
HSLhsl(317, 74%, 28%)
HSVhsv(317, 85%, 49%)
CMYKcmyk(0%, 84.9%, 24.6%, 50.6%)
CIE-LABlab(28.72, 50.20, -17.04)
CIE-LCHlch(28.72, 53.01, 341.25°)
OKLaboklab(40.66% 0.1518 -0.0457)
OKLCHoklch(40.66% 0.158 343.3)
XYZxyz(10.9031, 5.7288, 11.3558)
Luminance0.0573 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E135F #137E32
analogous
#67137E #7E135F #7E1329
triadic
#7E135F #5F7E13 #135F7E
tetradic
#7E135F #7E6713 #137E32 #13297E
square
#7E135F #7E6713 #137E32 #13297E
split-complementary
#7E135F #297E13 #137E67
monochromatic
#1B0414 #490B37 #7E135F #B31B87 #DF2CAB

Accessibility & contrast

On white

9.79
#7E135F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7E135F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E135F
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E135F#FFFFFF#000000##FFFFFF
##7E135F1.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213961
Deuteranopia (green-blind)
#434A5D
Tritanopia (blue-blind)
#871339
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e135f;
/* rgb */ color: rgb(126, 19, 95);
/* oklch */ color: oklch(40.7% 0.158 343.3);
Tailwind
colors: {
  custom: {
    50: '#a7608c',
    500: '#7e135f',
    950: '#000000',
  },
}
SCSS
$custom: #7e135f;
$custom-light: #a7608c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e135f",
  "rgb": {
    "r": 126,
    "g": 19,
    "b": 95
  },
  "hsl": {
    "h": 317.383,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40661,
    "c": 0.15848,
    "h": 343.3
  },
  "luminance": 0.05728
}

Semantic roles & 50–950 ramp

primary
#7E135F
secondary
#39B45D
accent
#F06D37
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7E135F

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

Preview Lab → · Contrast checker → · Palette generator →

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