#7F1D3A#7F1D3A

#7F1D3A is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.2% C 0.133 H 8.2°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#7F1D3A
RGBrgb(127, 29, 58)
HSLhsl(342, 63%, 31%)
HSVhsv(342, 77%, 50%)
CMYKcmyk(0%, 77.2%, 54.3%, 50.2%)
CIE-LABlab(28.64, 43.30, 7.42)
CIE-LCHlch(28.64, 43.93, 9.72°)
OKLaboklab(40.2% 0.1318 0.019)
OKLCHoklch(40.2% 0.133 8.2)
XYZxyz(9.9564, 5.6976, 4.5776)
Luminance0.0570 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1D3A #1D7F62
analogous
#7F1D6B #7F1D3A #7F311D
triadic
#7F1D3A #3A7F1D #1D3A7F
tetradic
#7F1D3A #6B7F1D #1D7F62 #311D7F
square
#7F1D3A #6B7F1D #1D7F62 #311D7F
split-complementary
#7F1D3A #1D7F31 #1D6B7F
monochromatic
#1B060C #4D1223 #7F1D3A #B12851 #D4426E

Accessibility & contrast

On white

9.82
#7F1D3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7F1D3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1D3A
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1D3A#FFFFFF#000000##FFFFFF
##7F1D3A1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36373B
Deuteranopia (green-blind)
#4F4B38
Tritanopia (blue-blind)
#8B0329
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f1d3a;
/* rgb */ color: rgb(127, 29, 58);
/* oklch */ color: oklch(40.2% 0.133 8.2);
Tailwind
colors: {
  custom: {
    50: '#a9626f',
    500: '#7f1d3a',
    950: '#000000',
  },
}
SCSS
$custom: #7f1d3a;
$custom-light: #a9626f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1d3a",
  "rgb": {
    "r": 127,
    "g": 29,
    "b": 58
  },
  "hsl": {
    "h": 342.245,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40195,
    "c": 0.13316,
    "h": 8.2
  },
  "luminance": 0.05696
}

Semantic roles & 50–950 ramp

primary
#7F1D3A
secondary
#45B292
accent
#E6B542
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110607
muted
#807A7A

Preview Lab

Preview with #7F1D3A

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

Preview Lab → · Contrast checker → · Palette generator →

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