#7F175F#7F175F

#7F175F is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.1% C 0.155 H 343.9°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#7F175F
RGBrgb(127, 23, 95)
HSLhsl(318, 69%, 29%)
HSVhsv(318, 82%, 50%)
CMYKcmyk(0%, 81.9%, 25.2%, 50.2%)
CIE-LABlab(29.29, 49.36, -16.14)
CIE-LCHlch(29.29, 51.93, 341.89°)
OKLaboklab(41.11% 0.1493 -0.0431)
OKLCHoklch(41.11% 0.155 343.9)
XYZxyz(11.1248, 5.9523, 11.3873)
Luminance0.0595 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F175F #177F37
analogous
#6B177F #7F175F #7F172B
triadic
#7F175F #5F7F17 #175F7F
tetradic
#7F175F #7F6B17 #177F37 #172B7F
square
#7F175F #7F6B17 #177F37 #172B7F
split-complementary
#7F175F #2B7F17 #177F6B
monochromatic
#1A0513 #4B0E38 #7F175F #B32086 #DB36A8

Accessibility & contrast

On white

9.59
#7F175F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7F175F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F175F
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F175F#FFFFFF#000000##FFFFFF
##7F175F1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243A61
Deuteranopia (green-blind)
#454B5D
Tritanopia (blue-blind)
#88163A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f175f;
/* rgb */ color: rgb(127, 23, 95);
/* oklch */ color: oklch(41.1% 0.155 343.9);
Tailwind
colors: {
  custom: {
    50: '#a8618c',
    500: '#7f175f',
    950: '#000000',
  },
}
SCSS
$custom: #7f175f;
$custom-light: #a8618c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f175f",
  "rgb": {
    "r": 127,
    "g": 23,
    "b": 95
  },
  "hsl": {
    "h": 318.462,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41112,
    "c": 0.15545,
    "h": 343.9
  },
  "luminance": 0.05951
}

Semantic roles & 50–950 ramp

primary
#7F175F
secondary
#3EB462
accent
#EC723C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7F175F

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

Preview Lab → · Contrast checker → · Palette generator →

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