#7F1147#7F1147

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

Color values

HEX#7F1147
RGBrgb(127, 17, 71)
HSLhsl(331, 76%, 28%)
HSVhsv(331, 87%, 50%)
CMYKcmyk(0%, 86.6%, 44.1%, 50.2%)
CIE-LABlab(27.76, 48.13, -2.57)
CIE-LCHlch(27.76, 48.20, 356.94°)
OKLaboklab(39.68% 0.1483 -0.0062)
OKLCHoklch(39.68% 0.148 357.6)
XYZxyz(10.0910, 5.3692, 6.4650)
Luminance0.0537 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1147 #117F49
analogous
#7F117E #7F1147 #7F1211
triadic
#7F1147 #477F11 #11477F
tetradic
#7F1147 #7E7F11 #117F49 #12117F
square
#7F1147 #7E7F11 #117F49 #12117F
split-complementary
#7F1147 #117F12 #117E7F
monochromatic
#1B040F #490A29 #7F1147 #B51865 #E22884

Accessibility & contrast

On white

10.13
#7F1147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1147
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1147#FFFFFF#000000##FFFFFF
##7F11471.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3448
Deuteranopia (green-blind)
#4A4945
Tritanopia (blue-blind)
#8A002B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f1147;
/* rgb */ color: rgb(127, 17, 71);
/* oklch */ color: oklch(39.7% 0.148 357.6);
Tailwind
colors: {
  custom: {
    50: '#a95f7a',
    500: '#7f1147',
    950: '#000000',
  },
}
SCSS
$custom: #7f1147;
$custom-light: #a95f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1147",
  "rgb": {
    "r": 127,
    "g": 17,
    "b": 71
  },
  "hsl": {
    "h": 330.545,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39683,
    "c": 0.14838,
    "h": 357.6
  },
  "luminance": 0.05368
}

Semantic roles & 50–950 ramp

primary
#7F1147
secondary
#37B577
accent
#F39635
background
#FAF5F7
surface
#F5EAED
border
#CFC6C8
text
#110509
muted
#80797B

Preview Lab

Preview with #7F1147

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

Preview Lab → · Contrast checker → · Palette generator →

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