#7F1447#7F1447

#7F1447 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.9% C 0.146 H 358.0°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#7F1447
RGBrgb(127, 20, 71)
HSLhsl(331, 73%, 29%)
HSVhsv(331, 84%, 50%)
CMYKcmyk(0%, 84.3%, 44.1%, 50.2%)
CIE-LABlab(28.03, 47.36, -2.18)
CIE-LCHlch(28.03, 47.41, 357.37°)
OKLaboklab(39.88% 0.1458 -0.0051)
OKLCHoklch(39.88% 0.146 358)
XYZxyz(10.1407, 5.4686, 6.4816)
Luminance0.0547 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1447 #147F4C
analogous
#7F147D #7F1447 #7F1714
triadic
#7F1447 #477F14 #14477F
tetradic
#7F1447 #7D7F14 #147F4C #17147F
square
#7F1447 #7D7F14 #147F4C #17147F
split-complementary
#7F1447 #147F17 #147D7F
monochromatic
#1A040F #4A0C29 #7F1447 #B41C65 #DE2F83

Accessibility & contrast

On white

10.03
#7F1447 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7F1447 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1447
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1447#FFFFFF#000000##FFFFFF
##7F14471.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3548
Deuteranopia (green-blind)
#4B4945
Tritanopia (blue-blind)
#8A002C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f1447;
/* rgb */ color: rgb(127, 20, 71);
/* oklch */ color: oklch(39.9% 0.146 358.0);
Tailwind
colors: {
  custom: {
    50: '#a95f7a',
    500: '#7f1447',
    950: '#000000',
  },
}
SCSS
$custom: #7f1447;
$custom-light: #a95f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1447",
  "rgb": {
    "r": 127,
    "g": 20,
    "b": 71
  },
  "hsl": {
    "h": 331.402,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39879,
    "c": 0.14587,
    "h": 358
  },
  "luminance": 0.05467
}

Semantic roles & 50–950 ramp

primary
#7F1447
secondary
#3BB47A
accent
#EF9838
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110509
muted
#807A7B

Preview Lab

Preview with #7F1447

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

Preview Lab → · Contrast checker → · Palette generator →

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