#7F1045#7F1045

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

Color values

HEX#7F1045
RGBrgb(127, 16, 69)
HSLhsl(331, 78%, 28%)
HSVhsv(331, 87%, 50%)
CMYKcmyk(0%, 87.4%, 45.7%, 50.2%)
CIE-LABlab(27.61, 48.17, -1.45)
CIE-LCHlch(27.61, 48.19, 358.27°)
OKLaboklab(39.55% 0.1484 -0.0032)
OKLCHoklch(39.55% 0.148 358.8)
XYZxyz(10.0127, 5.3137, 6.1275)
Luminance0.0531 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1045 #107F4A
analogous
#7F107C #7F1045 #7F1210
triadic
#7F1045 #457F10 #10457F
tetradic
#7F1045 #7C7F10 #107F4A #12107F
square
#7F1045 #7C7F10 #107F4A #12107F
split-complementary
#7F1045 #107F12 #107C7F
monochromatic
#1B030F #490927 #7F1045 #B51763 #E42680

Accessibility & contrast

On white

10.18
#7F1045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1045
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1045#FFFFFF#000000##FFFFFF
##7F10451.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f1045;
/* rgb */ color: rgb(127, 16, 69);
/* oklch */ color: oklch(39.6% 0.148 358.8);
Tailwind
colors: {
  custom: {
    50: '#a95e78',
    500: '#7f1045',
    950: '#000000',
  },
}
SCSS
$custom: #7f1045;
$custom-light: #a95e78;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1045",
  "rgb": {
    "r": 127,
    "g": 16,
    "b": 69
  },
  "hsl": {
    "h": 331.351,
    "s": 77.622,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3955,
    "c": 0.14839,
    "h": 358.8
  },
  "luminance": 0.05312
}

Semantic roles & 50–950 ramp

primary
#7F1045
secondary
#36B578
accent
#F49834
background
#FBF5F7
surface
#F6EAED
border
#D0C6C8
text
#110509
muted
#80797B

Preview Lab

Preview with #7F1045

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

Preview Lab → · Contrast checker → · Palette generator →

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