#7F1D47#7F1D47

#7F1D47 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.6% C 0.137 H 359.4°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#7F1D47
RGBrgb(127, 29, 71)
HSLhsl(334, 63%, 31%)
HSVhsv(334, 77%, 50%)
CMYKcmyk(0%, 77.2%, 44.1%, 50.2%)
CIE-LABlab(29.02, 44.55, -0.72)
CIE-LCHlch(29.02, 44.55, 359.08°)
OKLaboklab(40.61% 0.1368 -0.0013)
OKLCHoklch(40.61% 0.137 359.4)
XYZxyz(10.3299, 5.8470, 6.5446)
Luminance0.0585 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1D47 #1D7F55
analogous
#7F1D78 #7F1D47 #7F241D
triadic
#7F1D47 #477F1D #1D477F
tetradic
#7F1D47 #787F1D #1D7F55 #241D7F
square
#7F1D47 #787F1D #1D7F55 #241D7F
split-complementary
#7F1D47 #1D7F24 #1D787F
monochromatic
#1B060F #4D122B #7F1D47 #B12863 #D44281

Accessibility & contrast

On white

9.68
#7F1D47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7F1D47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1D47
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1D47#FFFFFF#000000##FFFFFF
##7F1D471.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323848
Deuteranopia (green-blind)
#4D4B45
Tritanopia (blue-blind)
#8A0D2F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f1d47;
/* rgb */ color: rgb(127, 29, 71);
/* oklch */ color: oklch(40.6% 0.137 359.4);
Tailwind
colors: {
  custom: {
    50: '#a9637a',
    500: '#7f1d47',
    950: '#000000',
  },
}
SCSS
$custom: #7f1d47;
$custom-light: #a9637a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1d47",
  "rgb": {
    "r": 127,
    "g": 29,
    "b": 71
  },
  "hsl": {
    "h": 334.286,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40606,
    "c": 0.13677,
    "h": 359.4
  },
  "luminance": 0.05846
}

Semantic roles & 50–950 ramp

primary
#7F1D47
secondary
#45B284
accent
#E6A042
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7F1D47

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

Preview Lab → · Contrast checker → · Palette generator →

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