#7E1345#7E1345

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

Color values

HEX#7E1345
RGBrgb(126, 19, 69)
HSLhsl(332, 74%, 28%)
HSVhsv(332, 85%, 49%)
CMYKcmyk(0%, 84.9%, 45.2%, 50.6%)
CIE-LABlab(27.66, 47.15, -1.40)
CIE-LCHlch(27.66, 47.17, 358.30°)
OKLaboklab(39.55% 0.1451 -0.0031)
OKLCHoklch(39.55% 0.145 358.8)
XYZxyz(9.9120, 5.3324, 6.1364)
Luminance0.0533 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1345 #137E4C
analogous
#7E137A #7E1345 #7E1713
triadic
#7E1345 #457E13 #13457E
tetradic
#7E1345 #7A7E13 #137E4C #17137E
square
#7E1345 #7A7E13 #137E4C #17137E
split-complementary
#7E1345 #137E17 #137A7E
monochromatic
#1B040F #490B28 #7E1345 #B31B62 #DF2C80

Accessibility & contrast

On white

10.16
#7E1345 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1345
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1345#FFFFFF#000000##FFFFFF
##7E13451.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3446
Deuteranopia (green-blind)
#4A4843
Tritanopia (blue-blind)
#89002A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1345;
/* rgb */ color: rgb(126, 19, 69);
/* oklch */ color: oklch(39.6% 0.145 358.8);
Tailwind
colors: {
  custom: {
    50: '#a85f78',
    500: '#7e1345',
    950: '#000000',
  },
}
SCSS
$custom: #7e1345;
$custom-light: #a85f78;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1345",
  "rgb": {
    "r": 126,
    "g": 19,
    "b": 69
  },
  "hsl": {
    "h": 331.963,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3955,
    "c": 0.14516,
    "h": 358.8
  },
  "luminance": 0.05331
}

Semantic roles & 50–950 ramp

primary
#7E1345
secondary
#39B47A
accent
#F09A37
background
#FAF5F7
surface
#F5EAED
border
#CFC6C8
text
#110509
muted
#80797B

Preview Lab

Preview with #7E1345

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

Preview Lab → · Contrast checker → · Palette generator →

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