#7F1142#7F1142

#7F1142 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.5% C 0.147 H 0.8°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#7F1142
RGBrgb(127, 17, 66)
HSLhsl(333, 76%, 28%)
HSVhsv(333, 87%, 50%)
CMYKcmyk(0%, 86.6%, 48%, 50.2%)
CIE-LABlab(27.59, 47.64, 0.54)
CIE-LCHlch(27.59, 47.64, 0.66°)
OKLaboklab(39.51% 0.1465 0.0019)
OKLCHoklch(39.51% 0.147 0.8)
XYZxyz(9.9371, 5.3077, 5.6544)
Luminance0.0531 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1142 #117F4E
analogous
#7F1179 #7F1142 #7F1711
triadic
#7F1142 #427F11 #11427F
tetradic
#7F1142 #797F11 #117F4E #17117F
square
#7F1142 #797F11 #117F4E #17117F
split-complementary
#7F1142 #117F17 #11797F
monochromatic
#1B040E #490A26 #7F1142 #B5185E #E2287B

Accessibility & contrast

On white

10.19
#7F1142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1142
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1142#FFFFFF#000000##FFFFFF
##7F11421.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3443
Deuteranopia (green-blind)
#4B4940
Tritanopia (blue-blind)
#8B0028
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f1142;
/* rgb */ color: rgb(127, 17, 66);
/* oklch */ color: oklch(39.5% 0.147 0.8);
Tailwind
colors: {
  custom: {
    50: '#a95e76',
    500: '#7f1142',
    950: '#000000',
  },
}
SCSS
$custom: #7f1142;
$custom-light: #a95e76;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1142",
  "rgb": {
    "r": 127,
    "g": 17,
    "b": 66
  },
  "hsl": {
    "h": 333.273,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39505,
    "c": 0.14655,
    "h": 0.8
  },
  "luminance": 0.05306
}

Semantic roles & 50–950 ramp

primary
#7F1142
secondary
#37B57D
accent
#F39E35
background
#FBF5F7
surface
#F6EAED
border
#D0C6C8
text
#110508
muted
#80797B

Preview Lab

Preview with #7F1142

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

Preview Lab → · Contrast checker → · Palette generator →

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