#7E1348#7E1348

#7E1348 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.7% C 0.146 H 356.9°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#7E1348
RGBrgb(126, 19, 72)
HSLhsl(330, 74%, 28%)
HSVhsv(330, 85%, 49%)
CMYKcmyk(0%, 84.9%, 42.9%, 50.6%)
CIE-LABlab(27.77, 47.46, -3.26)
CIE-LCHlch(27.77, 47.57, 356.07°)
OKLaboklab(39.66% 0.1461 -0.008)
OKLCHoklch(39.66% 0.146 356.9)
XYZxyz(10.0075, 5.3706, 6.6393)
Luminance0.0537 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1348 #137E49
analogous
#7E137D #7E1348 #7E1313
triadic
#7E1348 #487E13 #13487E
tetradic
#7E1348 #7D7E13 #137E49 #13137E
square
#7E1348 #7D7E13 #137E49 #13137E
split-complementary
#7E1348 #137E13 #137D7E
monochromatic
#1B040F #490B2A #7E1348 #B31B66 #DF2C85

Accessibility & contrast

On white

10.13
#7E1348 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1348
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1348#FFFFFF#000000##FFFFFF
##7E13481.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3549
Deuteranopia (green-blind)
#494946
Tritanopia (blue-blind)
#89002C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1348;
/* rgb */ color: rgb(126, 19, 72);
/* oklch */ color: oklch(39.7% 0.146 356.9);
Tailwind
colors: {
  custom: {
    50: '#a85f7a',
    500: '#7e1348',
    950: '#000000',
  },
}
SCSS
$custom: #7e1348;
$custom-light: #a85f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1348",
  "rgb": {
    "r": 126,
    "g": 19,
    "b": 72
  },
  "hsl": {
    "h": 330.28,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3966,
    "c": 0.14635,
    "h": 356.9
  },
  "luminance": 0.05369
}

Semantic roles & 50–950 ramp

primary
#7E1348
secondary
#39B477
accent
#F09537
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100509
muted
#7F797B

Preview Lab

Preview with #7E1348

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

Preview Lab → · Contrast checker → · Palette generator →

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