#7F1031#7F1031

#7F1031 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.9% C 0.143 H 11.2°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#7F1031
RGBrgb(127, 16, 49)
HSLhsl(342, 78%, 28%)
HSVhsv(342, 87%, 50%)
CMYKcmyk(0%, 87.4%, 61.4%, 50.2%)
CIE-LABlab(27.03, 46.49, 11.27)
CIE-LCHlch(27.03, 47.84, 13.63°)
OKLaboklab(38.94% 0.1407 0.028)
OKLCHoklch(38.94% 0.143 11.2)
XYZxyz(9.4931, 5.1058, 3.3908)
Luminance0.0510 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1031 #107F5E
analogous
#7F1068 #7F1031 #7F2610
triadic
#7F1031 #317F10 #10317F
tetradic
#7F1031 #687F10 #107F5E #26107F
square
#7F1031 #687F10 #107F5E #26107F
split-complementary
#7F1031 #107F26 #10687F
monochromatic
#1B030A #49091C #7F1031 #B51746 #E4265E

Accessibility & contrast

On white

10.39
#7F1031 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#7F1031 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1031
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1031#FFFFFF#000000##FFFFFF
##7F10311.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323231
Deuteranopia (green-blind)
#4E482E
Tritanopia (blue-blind)
#8C001F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f1031;
/* rgb */ color: rgb(127, 16, 49);
/* oklch */ color: oklch(38.9% 0.143 11.2);
Tailwind
colors: {
  custom: {
    50: '#ab5d68',
    500: '#7f1031',
    950: '#000000',
  },
}
SCSS
$custom: #7f1031;
$custom-light: #ab5d68;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1031",
  "rgb": {
    "r": 127,
    "g": 16,
    "b": 49
  },
  "hsl": {
    "h": 342.162,
    "s": 77.622,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3894,
    "c": 0.14341,
    "h": 11.2
  },
  "luminance": 0.05104
}

Semantic roles & 50–950 ramp

primary
#7F1031
secondary
#36B58F
accent
#F4BB34
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7F1031

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

Preview Lab → · Contrast checker → · Palette generator →

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