#7F1747#7F1747

#7F1747 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.1% C 0.143 H 358.4°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#7F1747
RGBrgb(127, 23, 71)
HSLhsl(332, 69%, 29%)
HSVhsv(332, 82%, 50%)
CMYKcmyk(0%, 81.9%, 44.1%, 50.2%)
CIE-LABlab(28.33, 46.50, -1.74)
CIE-LCHlch(28.33, 46.54, 357.86°)
OKLaboklab(40.1% 0.143 -0.004)
OKLCHoklch(40.1% 0.143 358.4)
XYZxyz(10.1969, 5.5811, 6.5003)
Luminance0.0558 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1747 #177F4F
analogous
#7F177B #7F1747 #7F1B17
triadic
#7F1747 #477F17 #17477F
tetradic
#7F1747 #7B7F17 #177F4F #1B177F
square
#7F1747 #7B7F17 #177F4F #1B177F
split-complementary
#7F1747 #177F1B #177B7F
monochromatic
#1A050E #4B0E2A #7F1747 #B32064 #DB3682

Accessibility & contrast

On white

9.92
#7F1747 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1747
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1747#FFFFFF#000000##FFFFFF
##7F17471.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3648
Deuteranopia (green-blind)
#4B4A45
Tritanopia (blue-blind)
#8A022D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f1747;
/* rgb */ color: rgb(127, 23, 71);
/* oklch */ color: oklch(40.1% 0.143 358.4);
Tailwind
colors: {
  custom: {
    50: '#a9607a',
    500: '#7f1747',
    950: '#000000',
  },
}
SCSS
$custom: #7f1747;
$custom-light: #a9607a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1747",
  "rgb": {
    "r": 127,
    "g": 23,
    "b": 71
  },
  "hsl": {
    "h": 332.308,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40098,
    "c": 0.14309,
    "h": 358.4
  },
  "luminance": 0.0558
}

Semantic roles & 50–950 ramp

primary
#7F1747
secondary
#3EB47D
accent
#EC9B3C
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110509
muted
#807A7B

Preview Lab

Preview with #7F1747

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

Preview Lab → · Contrast checker → · Palette generator →

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