#7E1447#7E1447

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

Color values

HEX#7E1447
RGBrgb(126, 20, 71)
HSLhsl(331, 73%, 29%)
HSVhsv(331, 84%, 49%)
CMYKcmyk(0%, 84.1%, 43.7%, 50.6%)
CIE-LABlab(27.82, 47.09, -2.50)
CIE-LCHlch(27.82, 47.15, 356.96°)
OKLaboklab(39.69% 0.1449 -0.006)
OKLCHoklch(39.69% 0.145 357.6)
XYZxyz(9.9924, 5.3922, 6.4746)
Luminance0.0539 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1447 #147E4B
analogous
#7E147C #7E1447 #7E1614
triadic
#7E1447 #477E14 #14477E
tetradic
#7E1447 #7C7E14 #147E4B #16147E
square
#7E1447 #7C7E14 #147E4B #16147E
split-complementary
#7E1447 #147E16 #147C7E
monochromatic
#1A040F #490C29 #7E1447 #B31C65 #DE2E83

Accessibility & contrast

On white

10.10
#7E1447 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7E1447 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1447
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1447#FFFFFF#000000##FFFFFF
##7E14471.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3548
Deuteranopia (green-blind)
#4A4945
Tritanopia (blue-blind)
#89002C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1447;
/* rgb */ color: rgb(126, 20, 71);
/* oklch */ color: oklch(39.7% 0.145 357.6);
Tailwind
colors: {
  custom: {
    50: '#a85f7a',
    500: '#7e1447',
    950: '#000000',
  },
}
SCSS
$custom: #7e1447;
$custom-light: #a85f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1447",
  "rgb": {
    "r": 126,
    "g": 20,
    "b": 71
  },
  "hsl": {
    "h": 331.132,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39691,
    "c": 0.14506,
    "h": 357.6
  },
  "luminance": 0.05391
}

Semantic roles & 50–950 ramp

primary
#7E1447
secondary
#3AB379
accent
#EF9738
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100509
muted
#7F797B

Preview Lab

Preview with #7E1447

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

Preview Lab → · Contrast checker → · Palette generator →

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