#7F1247#7F1247

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

Color values

HEX#7F1247
RGBrgb(127, 18, 71)
HSLhsl(331, 75%, 28%)
HSVhsv(331, 86%, 50%)
CMYKcmyk(0%, 85.8%, 44.1%, 50.2%)
CIE-LABlab(27.85, 47.88, -2.45)
CIE-LCHlch(27.85, 47.94, 357.07°)
OKLaboklab(39.75% 0.1475 -0.0058)
OKLCHoklch(39.75% 0.148 357.7)
XYZxyz(10.1068, 5.4009, 6.4703)
Luminance0.0540 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1247 #127F4A
analogous
#7F127D #7F1247 #7F1412
triadic
#7F1247 #477F12 #12477F
tetradic
#7F1247 #7D7F12 #127F4A #14127F
square
#7F1247 #7D7F12 #127F4A #14127F
split-complementary
#7F1247 #127F14 #127D7F
monochromatic
#1B040F #490A29 #7F1247 #B51A65 #E12B83

Accessibility & contrast

On white

10.10
#7F1247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7F1247 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1247
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1247#FFFFFF#000000##FFFFFF
##7F12471.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f1247;
/* rgb */ color: rgb(127, 18, 71);
/* oklch */ color: oklch(39.7% 0.148 357.7);
Tailwind
colors: {
  custom: {
    50: '#a95f7a',
    500: '#7f1247',
    950: '#000000',
  },
}
SCSS
$custom: #7f1247;
$custom-light: #a95f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1247",
  "rgb": {
    "r": 127,
    "g": 18,
    "b": 71
  },
  "hsl": {
    "h": 330.826,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39745,
    "c": 0.14758,
    "h": 357.7
  },
  "luminance": 0.054
}

Semantic roles & 50–950 ramp

primary
#7F1247
secondary
#38B578
accent
#F29636
background
#FAF5F7
surface
#F5EAED
border
#CFC6C8
text
#110509
muted
#80797B

Preview Lab

Preview with #7F1247

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

Preview Lab → · Contrast checker → · Palette generator →

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