#7F1039#7F1039

#7F1039 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.2% C 0.145 H 6.3°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#7F1039
RGBrgb(127, 16, 57)
HSLhsl(338, 78%, 28%)
HSVhsv(338, 87%, 50%)
CMYKcmyk(0%, 87.4%, 55.1%, 50.2%)
CIE-LABlab(27.24, 47.10, 6.13)
CIE-LCHlch(27.24, 47.49, 7.41°)
OKLaboklab(39.16% 0.1439 0.0158)
OKLCHoklch(39.16% 0.145 6.3)
XYZxyz(9.6771, 5.1794, 4.3603)
Luminance0.0518 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1039 #107F56
analogous
#7F1070 #7F1039 #7F1F10
triadic
#7F1039 #397F10 #10397F
tetradic
#7F1039 #707F10 #107F56 #1F107F
square
#7F1039 #707F10 #107F56 #1F107F
split-complementary
#7F1039 #107F1F #10707F
monochromatic
#1B030C #490921 #7F1039 #B51751 #E4266C

Accessibility & contrast

On white

10.32
#7F1039 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7F1039 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1039
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1039#FFFFFF#000000##FFFFFF
##7F10391.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30323A
Deuteranopia (green-blind)
#4C4836
Tritanopia (blue-blind)
#8B0023
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f1039;
/* rgb */ color: rgb(127, 16, 57);
/* oklch */ color: oklch(39.2% 0.145 6.3);
Tailwind
colors: {
  custom: {
    50: '#aa5e6f',
    500: '#7f1039',
    950: '#000000',
  },
}
SCSS
$custom: #7f1039;
$custom-light: #aa5e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1039",
  "rgb": {
    "r": 127,
    "g": 16,
    "b": 57
  },
  "hsl": {
    "h": 337.838,
    "s": 77.622,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39158,
    "c": 0.14479,
    "h": 6.3
  },
  "luminance": 0.05178
}

Semantic roles & 50–950 ramp

primary
#7F1039
secondary
#36B586
accent
#F4AD34
background
#FBF5F6
surface
#F6EAEC
border
#D0C6C7
text
#110507
muted
#80797A

Preview Lab

Preview with #7F1039

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

Preview Lab → · Contrast checker → · Palette generator →

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