#7F1A4F#7F1A4F

#7F1A4F is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.6% C 0.143 H 353.7°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#7F1A4F
RGBrgb(127, 26, 79)
HSLhsl(329, 66%, 30%)
HSVhsv(329, 80%, 50%)
CMYKcmyk(0%, 79.5%, 37.8%, 50.2%)
CIE-LABlab(28.95, 46.44, -6.15)
CIE-LCHlch(28.95, 46.85, 352.46°)
OKLaboklab(40.64% 0.1426 -0.0157)
OKLCHoklch(40.64% 0.143 353.7)
XYZxyz(10.5338, 5.8166, 7.9636)
Luminance0.0582 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1A4F #1A7F4A
analogous
#7D1A7F #7F1A4F #7F1A1C
triadic
#7F1A4F #4F7F1A #1A4F7F
tetradic
#7F1A4F #7F7D1A #1A7F4A #1A1C7F
square
#7F1A4F #7F7D1A #1A7F4A #1A1C7F
split-complementary
#7F1A4F #1C7F1A #1A7F7D
monochromatic
#190510 #4C102F #7F1A4F #B2246F #D73C8E

Accessibility & contrast

On white

9.71
#7F1A4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7F1A4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1A4F
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1A4F#FFFFFF#000000##FFFFFF
##7F1A4F1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3850
Deuteranopia (green-blind)
#4A4B4D
Tritanopia (blue-blind)
#890E32
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f1a4f;
/* rgb */ color: rgb(127, 26, 79);
/* oklch */ color: oklch(40.6% 0.143 353.7);
Tailwind
colors: {
  custom: {
    50: '#a86280',
    500: '#7f1a4f',
    950: '#000000',
  },
}
SCSS
$custom: #7f1a4f;
$custom-light: #a86280;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1a4f",
  "rgb": {
    "r": 127,
    "g": 26,
    "b": 79
  },
  "hsl": {
    "h": 328.515,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.40641,
    "c": 0.14347,
    "h": 353.7
  },
  "luminance": 0.05815
}

Semantic roles & 50–950 ramp

primary
#7F1A4F
secondary
#42B378
accent
#E9903F
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7F1A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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