#7F1F4E#7F1F4E

#7F1F4E is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.1% C 0.137 H 355.1°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#7F1F4E
RGBrgb(127, 31, 78)
HSLhsl(331, 61%, 31%)
HSVhsv(331, 76%, 50%)
CMYKcmyk(0%, 75.6%, 38.6%, 50.2%)
CIE-LABlab(29.52, 44.60, -4.63)
CIE-LCHlch(29.52, 44.84, 354.08°)
OKLaboklab(41.05% 0.1368 -0.0116)
OKLCHoklch(41.05% 0.137 355.1)
XYZxyz(10.6182, 6.0433, 7.8136)
Luminance0.0604 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1F4E #1F7F50
analogous
#7F1F7E #7F1F4E #7F201F
triadic
#7F1F4E #4E7F1F #1F4E7F
tetradic
#7F1F4E #7E7F1F #1F7F50 #201F7F
square
#7F1F4E #7E7F1F #1F7F50 #201F7F
split-complementary
#7F1F4E #1F7F20 #1F7E7F
monochromatic
#1D0712 #4E1330 #7F1F4E #B02B6C #D2468B

Accessibility & contrast

On white

9.51
#7F1F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1F4E
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1F4E#FFFFFF#000000##FFFFFF
##7F1F4E1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313A4F
Deuteranopia (green-blind)
#4C4C4C
Tritanopia (blue-blind)
#891533
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f1f4e;
/* rgb */ color: rgb(127, 31, 78);
/* oklch */ color: oklch(41.1% 0.137 355.1);
Tailwind
colors: {
  custom: {
    50: '#a8647f',
    500: '#7f1f4e',
    950: '#000000',
  },
}
SCSS
$custom: #7f1f4e;
$custom-light: #a8647f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1f4e",
  "rgb": {
    "r": 127,
    "g": 31,
    "b": 78
  },
  "hsl": {
    "h": 330.625,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41051,
    "c": 0.1373,
    "h": 355.1
  },
  "luminance": 0.06042
}

Semantic roles & 50–950 ramp

primary
#7F1F4E
secondary
#48B27E
accent
#E49644
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7F1F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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