#7F1847#7F1847

#7F1847 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.2% C 0.142 H 358.6°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#7F1847
RGBrgb(127, 24, 71)
HSLhsl(333, 68%, 30%)
HSVhsv(333, 81%, 50%)
CMYKcmyk(0%, 81.1%, 44.1%, 50.2%)
CIE-LABlab(28.44, 46.20, -1.58)
CIE-LCHlch(28.44, 46.23, 358.04°)
OKLaboklab(40.18% 0.1421 -0.0036)
OKLCHoklch(40.18% 0.142 358.6)
XYZxyz(10.2171, 5.6216, 6.5071)
Luminance0.0562 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1847 #187F50
analogous
#7F187B #7F1847 #7F1C18
triadic
#7F1847 #477F18 #18477F
tetradic
#7F1847 #7B7F18 #187F50 #1C187F
square
#7F1847 #7B7F18 #187F50 #1C187F
split-complementary
#7F1847 #187F1C #187B7F
monochromatic
#1A050E #4C0E2A #7F1847 #B22264 #D93882

Accessibility & contrast

On white

9.89
#7F1847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7F1847 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1847
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1847#FFFFFF#000000##FFFFFF
##7F18471.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303748
Deuteranopia (green-blind)
#4C4A45
Tritanopia (blue-blind)
#8A042D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f1847;
/* rgb */ color: rgb(127, 24, 71);
/* oklch */ color: oklch(40.2% 0.142 358.6);
Tailwind
colors: {
  custom: {
    50: '#a9617a',
    500: '#7f1847',
    950: '#000000',
  },
}
SCSS
$custom: #7f1847;
$custom-light: #a9617a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1847",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 71
  },
  "hsl": {
    "h": 332.621,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40176,
    "c": 0.14211,
    "h": 358.6
  },
  "luminance": 0.0562
}

Semantic roles & 50–950 ramp

primary
#7F1847
secondary
#3FB37E
accent
#EB9C3D
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110509
muted
#807A7B

Preview Lab

Preview with #7F1847

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

Preview Lab → · Contrast checker → · Palette generator →

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