#7F1647#7F1647

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

Color values

HEX#7F1647
RGBrgb(127, 22, 71)
HSLhsl(332, 70%, 29%)
HSVhsv(332, 83%, 50%)
CMYKcmyk(0%, 82.7%, 44.1%, 50.2%)
CIE-LABlab(28.23, 46.80, -1.89)
CIE-LCHlch(28.23, 46.84, 357.69°)
OKLaboklab(40.02% 0.144 -0.0044)
OKLCHoklch(40.02% 0.144 358.3)
XYZxyz(10.1774, 5.5421, 6.4938)
Luminance0.0554 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1647 #167F4E
analogous
#7F167C #7F1647 #7F1A16
triadic
#7F1647 #477F16 #16477F
tetradic
#7F1647 #7C7F16 #167F4E #1A167F
square
#7F1647 #7C7F16 #167F4E #1A167F
split-complementary
#7F1647 #167F1A #167C7F
monochromatic
#1A050F #4B0D2A #7F1647 #B31F64 #DC3482

Accessibility & contrast

On white

9.96
#7F1647 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7F1647 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1647
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1647#FFFFFF#000000##FFFFFF
##7F16471.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3648
Deuteranopia (green-blind)
#4B4A45
Tritanopia (blue-blind)
#8A002C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f1647;
/* rgb */ color: rgb(127, 22, 71);
/* oklch */ color: oklch(40.0% 0.144 358.3);
Tailwind
colors: {
  custom: {
    50: '#a9607a',
    500: '#7f1647',
    950: '#000000',
  },
}
SCSS
$custom: #7f1647;
$custom-light: #a9607a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1647",
  "rgb": {
    "r": 127,
    "g": 22,
    "b": 71
  },
  "hsl": {
    "h": 332,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40022,
    "c": 0.14405,
    "h": 358.3
  },
  "luminance": 0.05541
}

Semantic roles & 50–950 ramp

primary
#7F1647
secondary
#3DB47C
accent
#ED9A3B
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110509
muted
#807A7B

Preview Lab

Preview with #7F1647

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

Preview Lab → · Contrast checker → · Palette generator →

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