#7F1037#7F1037

#7F1037 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.1% C 0.144 H 7.5°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#7F1037
RGBrgb(127, 16, 55)
HSLhsl(339, 78%, 28%)
HSVhsv(339, 87%, 50%)
CMYKcmyk(0%, 87.4%, 56.7%, 50.2%)
CIE-LABlab(27.19, 46.94, 7.41)
CIE-LCHlch(27.19, 47.52, 8.97°)
OKLaboklab(39.1% 0.1431 0.0189)
OKLCHoklch(39.1% 0.144 7.5)
XYZxyz(9.6282, 5.1599, 4.1027)
Luminance0.0516 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1037 #107F58
analogous
#7F106E #7F1037 #7F2110
triadic
#7F1037 #377F10 #10377F
tetradic
#7F1037 #6E7F10 #107F58 #21107F
square
#7F1037 #6E7F10 #107F58 #21107F
split-complementary
#7F1037 #107F21 #106E7F
monochromatic
#1B030C #49091F #7F1037 #B5174F #E42668

Accessibility & contrast

On white

10.34
#7F1037 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7F1037 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1037
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1037#FFFFFF#000000##FFFFFF
##7F10371.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303238
Deuteranopia (green-blind)
#4D4834
Tritanopia (blue-blind)
#8B0022
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f1037;
/* rgb */ color: rgb(127, 16, 55);
/* oklch */ color: oklch(39.1% 0.144 7.5);
Tailwind
colors: {
  custom: {
    50: '#aa5e6d',
    500: '#7f1037',
    950: '#000000',
  },
}
SCSS
$custom: #7f1037;
$custom-light: #aa5e6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1037",
  "rgb": {
    "r": 127,
    "g": 16,
    "b": 55
  },
  "hsl": {
    "h": 338.919,
    "s": 77.622,
    "l": 28.039
  },
  "oklch": {
    "l": 0.391,
    "c": 0.14437,
    "h": 7.5
  },
  "luminance": 0.05158
}

Semantic roles & 50–950 ramp

primary
#7F1037
secondary
#36B588
accent
#F4B134
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110507
muted
#80797A

Preview Lab

Preview with #7F1037

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

Preview Lab → · Contrast checker → · Palette generator →

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