#7F1442#7F1442

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

Color values

HEX#7F1442
RGBrgb(127, 20, 66)
HSLhsl(334, 73%, 29%)
HSVhsv(334, 84%, 50%)
CMYKcmyk(0%, 84.3%, 48%, 50.2%)
CIE-LABlab(27.86, 46.87, 0.94)
CIE-LCHlch(27.86, 46.88, 1.15°)
OKLaboklab(39.7% 0.144 0.0029)
OKLCHoklch(39.7% 0.144 1.2)
XYZxyz(9.9868, 5.4071, 5.6710)
Luminance0.0541 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1442 #147F51
analogous
#7F1478 #7F1442 #7F1C14
triadic
#7F1442 #427F14 #14427F
tetradic
#7F1442 #787F14 #147F51 #1C147F
square
#7F1442 #787F14 #147F51 #1C147F
split-complementary
#7F1442 #147F1C #14787F
monochromatic
#1A040E #4A0C27 #7F1442 #B41C5D #DE2F7A

Accessibility & contrast

On white

10.09
#7F1442 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1442
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1442#FFFFFF#000000##FFFFFF
##7F14421.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3543
Deuteranopia (green-blind)
#4C4940
Tritanopia (blue-blind)
#8B0029
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f1442;
/* rgb */ color: rgb(127, 20, 66);
/* oklch */ color: oklch(39.7% 0.144 1.2);
Tailwind
colors: {
  custom: {
    50: '#a95f76',
    500: '#7f1442',
    950: '#000000',
  },
}
SCSS
$custom: #7f1442;
$custom-light: #a95f76;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1442",
  "rgb": {
    "r": 127,
    "g": 20,
    "b": 66
  },
  "hsl": {
    "h": 334.206,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39703,
    "c": 0.14407,
    "h": 1.2
  },
  "luminance": 0.05406
}

Semantic roles & 50–950 ramp

primary
#7F1442
secondary
#3BB480
accent
#EFA138
background
#FBF5F7
surface
#F6EAED
border
#D0C6C8
text
#110508
muted
#80797B

Preview Lab

Preview with #7F1442

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

Preview Lab → · Contrast checker → · Palette generator →

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