#7F1140#7F1140

#7F1140 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.4% C 0.146 H 2.0°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#7F1140
RGBrgb(127, 17, 64)
HSLhsl(334, 76%, 28%)
HSVhsv(334, 87%, 50%)
CMYKcmyk(0%, 86.6%, 49.6%, 50.2%)
CIE-LABlab(27.53, 47.46, 1.80)
CIE-LCHlch(27.53, 47.49, 2.17°)
OKLaboklab(39.44% 0.1458 0.0051)
OKLCHoklch(39.44% 0.146 2)
XYZxyz(9.8791, 5.2845, 5.3493)
Luminance0.0528 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1140 #117F50
analogous
#7F1177 #7F1140 #7F1911
triadic
#7F1140 #407F11 #11407F
tetradic
#7F1140 #777F11 #117F50 #19117F
square
#7F1140 #777F11 #117F50 #19117F
split-complementary
#7F1140 #117F19 #11777F
monochromatic
#1B040E #490A25 #7F1140 #B5185B #E22878

Accessibility & contrast

On white

10.21
#7F1140 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7F1140 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1140
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1140#FFFFFF#000000##FFFFFF
##7F11401.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3441
Deuteranopia (green-blind)
#4B483D
Tritanopia (blue-blind)
#8B0027
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f1140;
/* rgb */ color: rgb(127, 17, 64);
/* oklch */ color: oklch(39.4% 0.146 2.0);
Tailwind
colors: {
  custom: {
    50: '#aa5e74',
    500: '#7f1140',
    950: '#000000',
  },
}
SCSS
$custom: #7f1140;
$custom-light: #aa5e74;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1140",
  "rgb": {
    "r": 127,
    "g": 17,
    "b": 64
  },
  "hsl": {
    "h": 334.364,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39438,
    "c": 0.1459,
    "h": 2
  },
  "luminance": 0.05283
}

Semantic roles & 50–950 ramp

primary
#7F1140
secondary
#37B57F
accent
#F3A235
background
#FBF5F7
surface
#F6EAED
border
#D0C6C8
text
#110508
muted
#80797B

Preview Lab

Preview with #7F1140

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

Preview Lab → · Contrast checker → · Palette generator →

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