#7F174C#7F174C

#7F174C is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.3% C 0.145 H 355.2°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#7F174C
RGBrgb(127, 23, 76)
HSLhsl(329, 69%, 29%)
HSVhsv(329, 82%, 50%)
CMYKcmyk(0%, 81.9%, 40.2%, 50.2%)
CIE-LABlab(28.51, 47.04, -4.81)
CIE-LCHlch(28.51, 47.28, 354.16°)
OKLaboklab(40.28% 0.1447 -0.0121)
OKLCHoklch(40.28% 0.145 355.2)
XYZxyz(10.3640, 5.6479, 7.3805)
Luminance0.0565 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F174C #177F4A
analogous
#7E177F #7F174C #7F1718
triadic
#7F174C #4C7F17 #174C7F
tetradic
#7F174C #7F7E17 #177F4A #17187F
square
#7F174C #7F7E17 #177F4A #17187F
split-complementary
#7F174C #187F17 #177F7E
monochromatic
#1A0510 #4B0E2D #7F174C #B3206B #DB368A

Accessibility & contrast

On white

9.86
#7F174C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7F174C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F174C
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F174C#FFFFFF#000000##FFFFFF
##7F174C1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D374D
Deuteranopia (green-blind)
#4A4A4A
Tritanopia (blue-blind)
#8A072F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f174c;
/* rgb */ color: rgb(127, 23, 76);
/* oklch */ color: oklch(40.3% 0.145 355.2);
Tailwind
colors: {
  custom: {
    50: '#a9617e',
    500: '#7f174c',
    950: '#000000',
  },
}
SCSS
$custom: #7f174c;
$custom-light: #a9617e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f174c",
  "rgb": {
    "r": 127,
    "g": 23,
    "b": 76
  },
  "hsl": {
    "h": 329.423,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40284,
    "c": 0.14516,
    "h": 355.2
  },
  "luminance": 0.05647
}

Semantic roles & 50–950 ramp

primary
#7F174C
secondary
#3EB478
accent
#EC923C
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7F174C

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

Preview Lab → · Contrast checker → · Palette generator →

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