#7F1A39#7F1A39

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

Color values

HEX#7F1A39
RGBrgb(127, 26, 57)
HSLhsl(342, 66%, 30%)
HSVhsv(342, 80%, 50%)
CMYKcmyk(0%, 79.5%, 55.1%, 50.2%)
CIE-LABlab(28.24, 44.25, 7.53)
CIE-LCHlch(28.24, 44.89, 9.66°)
OKLaboklab(39.89% 0.1347 0.0193)
OKLCHoklch(39.89% 0.136 8.1)
XYZxyz(9.8612, 5.5476, 4.4216)
Luminance0.0555 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1A39 #1A7F60
analogous
#7F1A6C #7F1A39 #7F2D1A
triadic
#7F1A39 #397F1A #1A397F
tetradic
#7F1A39 #6C7F1A #1A7F60 #2D1A7F
square
#7F1A39 #6C7F1A #1A7F60 #2D1A7F
split-complementary
#7F1A39 #1A7F2D #1A6C7F
monochromatic
#19050B #4C1022 #7F1A39 #B22450 #D73C6C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F1A39#FFFFFF#000000##FFFFFF
##7F1A391.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)
#34363A
Deuteranopia (green-blind)
#4F4A37
Tritanopia (blue-blind)
#8B0027
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f1a39;
/* rgb */ color: rgb(127, 26, 57);
/* oklch */ color: oklch(39.9% 0.136 8.1);
Tailwind
colors: {
  custom: {
    50: '#aa616f',
    500: '#7f1a39',
    950: '#000000',
  },
}
SCSS
$custom: #7f1a39;
$custom-light: #aa616f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1a39",
  "rgb": {
    "r": 127,
    "g": 26,
    "b": 57
  },
  "hsl": {
    "h": 341.584,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.39894,
    "c": 0.13609,
    "h": 8.1
  },
  "luminance": 0.05546
}

Semantic roles & 50–950 ramp

primary
#7F1A39
secondary
#42B390
accent
#E9B53F
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110507
muted
#807A7A

Preview Lab

Preview with #7F1A39

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

Preview Lab → · Contrast checker → · Palette generator →

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