#7F1F4F#7F1F4F

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

Color values

HEX#7F1F4F
RGBrgb(127, 31, 79)
HSLhsl(330, 61%, 31%)
HSVhsv(330, 76%, 50%)
CMYKcmyk(0%, 75.6%, 37.8%, 50.2%)
CIE-LABlab(29.56, 44.71, -5.23)
CIE-LCHlch(29.56, 45.02, 353.33°)
OKLaboklab(41.09% 0.1371 -0.0132)
OKLCHoklch(41.09% 0.138 354.5)
XYZxyz(10.6543, 6.0578, 8.0038)
Luminance0.0606 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1F4F #1F7F4F
analogous
#7F1F7F #7F1F4F #7F1F1F
triadic
#7F1F4F #4F7F1F #1F4F7F
tetradic
#7F1F4F #7F7F1F #1F7F4F #1F1F7F
square
#7F1F4F #7F7F1F #1F7F4F #1F1F7F
split-complementary
#7F1F4F #1F7F1F #1F7F7F
monochromatic
#1D0712 #4E1330 #7F1F4F #B02B6E #D2468C

Accessibility & contrast

On white

9.50
#7F1F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1F4F
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1F4F#FFFFFF#000000##FFFFFF
##7F1F4F1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313A50
Deuteranopia (green-blind)
#4C4C4D
Tritanopia (blue-blind)
#891534
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f1f4f;
/* rgb */ color: rgb(127, 31, 79);
/* oklch */ color: oklch(41.1% 0.138 354.5);
Tailwind
colors: {
  custom: {
    50: '#a86480',
    500: '#7f1f4f',
    950: '#000000',
  },
}
SCSS
$custom: #7f1f4f;
$custom-light: #a86480;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1f4f",
  "rgb": {
    "r": 127,
    "g": 31,
    "b": 79
  },
  "hsl": {
    "h": 330,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4109,
    "c": 0.13777,
    "h": 354.5
  },
  "luminance": 0.06057
}

Semantic roles & 50–950 ramp

primary
#7F1F4F
secondary
#48B27D
accent
#E49444
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7F1F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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