#7F1F50#7F1F50

#7F1F50 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.1% C 0.138 H 353.8°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#7F1F50
RGBrgb(127, 31, 80)
HSLhsl(329, 61%, 31%)
HSVhsv(329, 76%, 50%)
CMYKcmyk(0%, 75.6%, 37%, 50.2%)
CIE-LABlab(29.59, 44.83, -5.84)
CIE-LCHlch(29.59, 45.21, 352.58°)
OKLaboklab(41.13% 0.1374 -0.0149)
OKLCHoklch(41.13% 0.138 353.8)
XYZxyz(10.6910, 6.0725, 8.1970)
Luminance0.0607 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1F50 #1F7F4E
analogous
#7E1F7F #7F1F50 #7F1F20
triadic
#7F1F50 #507F1F #1F507F
tetradic
#7F1F50 #7F7E1F #1F7F4E #1F207F
square
#7F1F50 #7F7E1F #1F7F4E #1F207F
split-complementary
#7F1F50 #207F1F #1F7F7E
monochromatic
#1D0712 #4E1331 #7F1F50 #B02B6F #D2468E

Accessibility & contrast

On white

9.48
#7F1F50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7F1F50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1F50
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1F50#FFFFFF#000000##FFFFFF
##7F1F501.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313B51
Deuteranopia (green-blind)
#4C4C4E
Tritanopia (blue-blind)
#891634
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f1f50;
/* rgb */ color: rgb(127, 31, 80);
/* oklch */ color: oklch(41.1% 0.138 353.8);
Tailwind
colors: {
  custom: {
    50: '#a86481',
    500: '#7f1f50',
    950: '#000000',
  },
}
SCSS
$custom: #7f1f50;
$custom-light: #a86481;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1f50",
  "rgb": {
    "r": 127,
    "g": 31,
    "b": 80
  },
  "hsl": {
    "h": 329.375,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41128,
    "c": 0.13824,
    "h": 353.8
  },
  "luminance": 0.06071
}

Semantic roles & 50–950 ramp

primary
#7F1F50
secondary
#48B27C
accent
#E49244
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7F1F50

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

Preview Lab → · Contrast checker → · Palette generator →

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