#7F1043#7F1043

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

Color values

HEX#7F1043
RGBrgb(127, 16, 67)
HSLhsl(332, 78%, 28%)
HSVhsv(332, 87%, 50%)
CMYKcmyk(0%, 87.4%, 47.2%, 50.2%)
CIE-LABlab(27.54, 47.97, -0.20)
CIE-LCHlch(27.54, 47.98, 359.76°)
OKLaboklab(39.48% 0.1477 0)
OKLCHoklch(39.48% 0.148 0)
XYZxyz(9.9516, 5.2892, 5.8060)
Luminance0.0529 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1043 #107F4C
analogous
#7F107A #7F1043 #7F1410
triadic
#7F1043 #437F10 #10437F
tetradic
#7F1043 #7A7F10 #107F4C #14107F
square
#7F1043 #7A7F10 #107F4C #14107F
split-complementary
#7F1043 #107F14 #107A7F
monochromatic
#1B030E #490926 #7F1043 #B51760 #E4267D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F1043#FFFFFF#000000##FFFFFF
##7F10431.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)
#2D3444
Deuteranopia (green-blind)
#4B4841
Tritanopia (blue-blind)
#8A0028
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f1043;
/* rgb */ color: rgb(127, 16, 67);
/* oklch */ color: oklch(39.5% 0.148 0.0);
Tailwind
colors: {
  custom: {
    50: '#a95e76',
    500: '#7f1043',
    950: '#000000',
  },
}
SCSS
$custom: #7f1043;
$custom-light: #a95e76;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1043",
  "rgb": {
    "r": 127,
    "g": 16,
    "b": 67
  },
  "hsl": {
    "h": 332.432,
    "s": 77.622,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39479,
    "c": 0.14766,
    "h": 0
  },
  "luminance": 0.05288
}

Semantic roles & 50–950 ramp

primary
#7F1043
secondary
#36B57B
accent
#F49C34
background
#FBF5F7
surface
#F6EAED
border
#D0C6C8
text
#110508
muted
#80797B

Preview Lab

Preview with #7F1043

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

Preview Lab → · Contrast checker → · Palette generator →

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