#7F1146#7F1146

#7F1146 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.6% C 0.148 H 358.2°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#7F1146
RGBrgb(127, 17, 70)
HSLhsl(331, 76%, 28%)
HSVhsv(331, 87%, 50%)
CMYKcmyk(0%, 86.6%, 44.9%, 50.2%)
CIE-LABlab(27.73, 48.03, -1.95)
CIE-LCHlch(27.73, 48.07, 357.67°)
OKLaboklab(39.65% 0.1479 -0.0045)
OKLCHoklch(39.65% 0.148 358.2)
XYZxyz(10.0591, 5.3565, 6.2974)
Luminance0.0536 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1146 #117F4A
analogous
#7F117D #7F1146 #7F1311
triadic
#7F1146 #467F11 #11467F
tetradic
#7F1146 #7D7F11 #117F4A #13117F
square
#7F1146 #7D7F11 #117F4A #13117F
split-complementary
#7F1146 #117F13 #117D7F
monochromatic
#1B040F #490A28 #7F1146 #B51864 #E22882

Accessibility & contrast

On white

10.14
#7F1146 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7F1146 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1146
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1146#FFFFFF#000000##FFFFFF
##7F11461.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3447
Deuteranopia (green-blind)
#4A4944
Tritanopia (blue-blind)
#8A002A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f1146;
/* rgb */ color: rgb(127, 17, 70);
/* oklch */ color: oklch(39.6% 0.148 358.2);
Tailwind
colors: {
  custom: {
    50: '#a95e79',
    500: '#7f1146',
    950: '#000000',
  },
}
SCSS
$custom: #7f1146;
$custom-light: #a95e79;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1146",
  "rgb": {
    "r": 127,
    "g": 17,
    "b": 70
  },
  "hsl": {
    "h": 331.091,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39646,
    "c": 0.14799,
    "h": 358.2
  },
  "luminance": 0.05355
}

Semantic roles & 50–950 ramp

primary
#7F1146
secondary
#37B578
accent
#F39735
background
#FBF5F7
surface
#F6EAED
border
#D0C6C8
text
#110509
muted
#80797B

Preview Lab

Preview with #7F1146

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

Preview Lab → · Contrast checker → · Palette generator →

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