#7F174F#7F174F

#7F174F is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.4% C 0.147 H 353.3°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#7F174F
RGBrgb(127, 23, 79)
HSLhsl(328, 69%, 29%)
HSVhsv(328, 82%, 50%)
CMYKcmyk(0%, 81.9%, 37.8%, 50.2%)
CIE-LABlab(28.62, 47.37, -6.64)
CIE-LCHlch(28.62, 47.83, 352.02°)
OKLaboklab(40.4% 0.1456 -0.017)
OKLCHoklch(40.4% 0.147 353.3)
XYZxyz(10.4708, 5.6906, 7.9426)
Luminance0.0569 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F174F #177F47
analogous
#7B177F #7F174F #7F171B
triadic
#7F174F #4F7F17 #174F7F
tetradic
#7F174F #7F7B17 #177F47 #171B7F
square
#7F174F #7F7B17 #177F47 #171B7F
split-complementary
#7F174F #1B7F17 #177F7B
monochromatic
#1A0510 #4B0E2F #7F174F #B3206F #DB368F

Accessibility & contrast

On white

9.82
#7F174F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7F174F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F174F
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F174F#FFFFFF#000000##FFFFFF
##7F174F1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3750
Deuteranopia (green-blind)
#494A4D
Tritanopia (blue-blind)
#890931
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f174f;
/* rgb */ color: rgb(127, 23, 79);
/* oklch */ color: oklch(40.4% 0.147 353.3);
Tailwind
colors: {
  custom: {
    50: '#a96180',
    500: '#7f174f',
    950: '#000000',
  },
}
SCSS
$custom: #7f174f;
$custom-light: #a96180;
$custom-dark: #000000;
JSON
{
  "hex": "#7f174f",
  "rgb": {
    "r": 127,
    "g": 23,
    "b": 79
  },
  "hsl": {
    "h": 327.692,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40402,
    "c": 0.14655,
    "h": 353.3
  },
  "luminance": 0.05689
}

Semantic roles & 50–950 ramp

primary
#7F174F
secondary
#3EB474
accent
#EC8D3C
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7F174F

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

Preview Lab → · Contrast checker → · Palette generator →

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