#7F1042#7F1042

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

Color values

HEX#7F1042
RGBrgb(127, 16, 66)
HSLhsl(333, 78%, 28%)
HSVhsv(333, 87%, 50%)
CMYKcmyk(0%, 87.4%, 48%, 50.2%)
CIE-LABlab(27.51, 47.88, 0.42)
CIE-LCHlch(27.51, 47.88, 0.51°)
OKLaboklab(39.45% 0.1473 0.0016)
OKLCHoklch(39.45% 0.147 0.6)
XYZxyz(9.9219, 5.2773, 5.6494)
Luminance0.0528 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1042 #107F4D
analogous
#7F1079 #7F1042 #7F1610
triadic
#7F1042 #427F10 #10427F
tetradic
#7F1042 #797F10 #107F4D #16107F
square
#7F1042 #797F10 #107F4D #16107F
split-complementary
#7F1042 #107F16 #10797F
monochromatic
#1B030E #490926 #7F1042 #B5175E #E4267B

Accessibility & contrast

On white

10.22
#7F1042 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1042
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1042#FFFFFF#000000##FFFFFF
##7F10421.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f1042;
/* rgb */ color: rgb(127, 16, 66);
/* oklch */ color: oklch(39.4% 0.147 0.6);
Tailwind
colors: {
  custom: {
    50: '#a95e76',
    500: '#7f1042',
    950: '#000000',
  },
}
SCSS
$custom: #7f1042;
$custom-light: #a95e76;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1042",
  "rgb": {
    "r": 127,
    "g": 16,
    "b": 66
  },
  "hsl": {
    "h": 332.973,
    "s": 77.622,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39445,
    "c": 0.14732,
    "h": 0.6
  },
  "luminance": 0.05276
}

Semantic roles & 50–950 ramp

primary
#7F1042
secondary
#36B57C
accent
#F49D34
background
#FBF5F7
surface
#F6EAED
border
#D0C6C8
text
#110508
muted
#80797B

Preview Lab

Preview with #7F1042

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

Preview Lab → · Contrast checker → · Palette generator →

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