#7F1A3A#7F1A3A

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

Color values

HEX#7F1A3A
RGBrgb(127, 26, 58)
HSLhsl(341, 66%, 30%)
HSVhsv(341, 80%, 50%)
CMYKcmyk(0%, 79.5%, 54.3%, 50.2%)
CIE-LABlab(28.27, 44.34, 6.90)
CIE-LCHlch(28.27, 44.87, 8.84°)
OKLaboklab(39.92% 0.1351 0.0178)
OKLCHoklch(39.92% 0.136 7.5)
XYZxyz(9.8864, 5.5577, 4.5543)
Luminance0.0556 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1A3A #1A7F5F
analogous
#7F1A6D #7F1A3A #7F2C1A
triadic
#7F1A3A #3A7F1A #1A3A7F
tetradic
#7F1A3A #6D7F1A #1A7F5F #2C1A7F
square
#7F1A3A #6D7F1A #1A7F5F #2C1A7F
split-complementary
#7F1A3A #1A7F2C #1A6D7F
monochromatic
#19050C #4C1023 #7F1A3A #B22451 #D73C6D

Accessibility & contrast

On white

9.95
#7F1A3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1A3A
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1A3A#FFFFFF#000000##FFFFFF
##7F1A3A1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34363B
Deuteranopia (green-blind)
#4F4A38
Tritanopia (blue-blind)
#8B0028
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f1a3a;
/* rgb */ color: rgb(127, 26, 58);
/* oklch */ color: oklch(39.9% 0.136 7.5);
Tailwind
colors: {
  custom: {
    50: '#aa616f',
    500: '#7f1a3a',
    950: '#000000',
  },
}
SCSS
$custom: #7f1a3a;
$custom-light: #aa616f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1a3a",
  "rgb": {
    "r": 127,
    "g": 26,
    "b": 58
  },
  "hsl": {
    "h": 340.99,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.39923,
    "c": 0.13628,
    "h": 7.5
  },
  "luminance": 0.05556
}

Semantic roles & 50–950 ramp

primary
#7F1A3A
secondary
#42B38F
accent
#E9B33F
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110507
muted
#807A7A

Preview Lab

Preview with #7F1A3A

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

Preview Lab → · Contrast checker → · Palette generator →

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