#7F1137#7F1137

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

Color values

HEX#7F1137
RGBrgb(127, 17, 55)
HSLhsl(339, 76%, 28%)
HSVhsv(339, 87%, 50%)
CMYKcmyk(0%, 86.6%, 56.7%, 50.2%)
CIE-LABlab(27.27, 46.69, 7.53)
CIE-LCHlch(27.27, 47.30, 9.16°)
OKLaboklab(39.16% 0.1423 0.0192)
OKLCHoklch(39.16% 0.144 7.7)
XYZxyz(9.6434, 5.1902, 4.1077)
Luminance0.0519 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1137 #117F59
analogous
#7F116E #7F1137 #7F2211
triadic
#7F1137 #377F11 #11377F
tetradic
#7F1137 #6E7F11 #117F59 #22117F
square
#7F1137 #6E7F11 #117F59 #22117F
split-complementary
#7F1137 #117F22 #116E7F
monochromatic
#1B040C #490A20 #7F1137 #B5184E #E22868

Accessibility & contrast

On white

10.31
#7F1137 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1137
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1137#FFFFFF#000000##FFFFFF
##7F11371.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f1137;
/* rgb */ color: rgb(127, 17, 55);
/* oklch */ color: oklch(39.2% 0.144 7.7);
Tailwind
colors: {
  custom: {
    50: '#aa5e6d',
    500: '#7f1137',
    950: '#000000',
  },
}
SCSS
$custom: #7f1137;
$custom-light: #aa5e6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1137",
  "rgb": {
    "r": 127,
    "g": 17,
    "b": 55
  },
  "hsl": {
    "h": 339.273,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39162,
    "c": 0.14363,
    "h": 7.7
  },
  "luminance": 0.05189
}

Semantic roles & 50–950 ramp

primary
#7F1137
secondary
#37B589
accent
#F3B135
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110507
muted
#80797A

Preview Lab

Preview with #7F1137

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

Preview Lab → · Contrast checker → · Palette generator →

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