#7E1351#7E1351

#7E1351 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.0% C 0.150 H 351.3°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#7E1351
RGBrgb(126, 19, 81)
HSLhsl(325, 74%, 28%)
HSVhsv(325, 85%, 49%)
CMYKcmyk(0%, 84.9%, 35.7%, 50.6%)
CIE-LABlab(28.11, 48.45, -8.76)
CIE-LCHlch(28.11, 49.23, 349.75°)
OKLaboklab(40.02% 0.1488 -0.0227)
OKLCHoklch(40.02% 0.151 351.3)
XYZxyz(10.3229, 5.4967, 8.3004)
Luminance0.0549 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1351 #137E40
analogous
#75137E #7E1351 #7E131B
triadic
#7E1351 #517E13 #13517E
tetradic
#7E1351 #7E7513 #137E40 #131B7E
square
#7E1351 #7E7513 #137E40 #131B7E
split-complementary
#7E1351 #1B7E13 #137E75
monochromatic
#1B0411 #490B2F #7E1351 #B31B73 #DF2C94

Accessibility & contrast

On white

10.00
#7E1351 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7E1351 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1351
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1351#FFFFFF#000000##FFFFFF
##7E13511.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293653
Deuteranopia (green-blind)
#47494F
Tritanopia (blue-blind)
#880631
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1351;
/* rgb */ color: rgb(126, 19, 81);
/* oklch */ color: oklch(40.0% 0.150 351.3);
Tailwind
colors: {
  custom: {
    50: '#a85f81',
    500: '#7e1351',
    950: '#000000',
  },
}
SCSS
$custom: #7e1351;
$custom-light: #a85f81;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1351",
  "rgb": {
    "r": 126,
    "g": 19,
    "b": 81
  },
  "hsl": {
    "h": 325.234,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40018,
    "c": 0.1505,
    "h": 351.3
  },
  "luminance": 0.05495
}

Semantic roles & 50–950 ramp

primary
#7E1351
secondary
#39B46D
accent
#F08537
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7E1351

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

Preview Lab → · Contrast checker → · Palette generator →

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