#7F175E#7F175E

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

Color values

HEX#7F175E
RGBrgb(127, 23, 94)
HSLhsl(319, 69%, 29%)
HSVhsv(319, 82%, 50%)
CMYKcmyk(0%, 81.9%, 26%, 50.2%)
CIE-LABlab(29.25, 49.22, -15.56)
CIE-LCHlch(29.25, 51.62, 342.46°)
OKLaboklab(41.06% 0.1492 -0.0415)
OKLCHoklch(41.06% 0.155 344.4)
XYZxyz(11.0796, 5.9342, 11.1494)
Luminance0.0593 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F175E #177F38
analogous
#6C177F #7F175E #7F172A
triadic
#7F175E #5E7F17 #175E7F
tetradic
#7F175E #7F6C17 #177F38 #172A7F
square
#7F175E #7F6C17 #177F38 #172A7F
split-complementary
#7F175E #2A7F17 #177F6C
monochromatic
#1A0513 #4B0E38 #7F175E #B32084 #DB36A6

Accessibility & contrast

On white

9.60
#7F175E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F175E
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F175E#FFFFFF#000000##FFFFFF
##7F175E1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253A60
Deuteranopia (green-blind)
#454B5C
Tritanopia (blue-blind)
#881639
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f175e;
/* rgb */ color: rgb(127, 23, 94);
/* oklch */ color: oklch(41.1% 0.155 344.4);
Tailwind
colors: {
  custom: {
    50: '#a8618b',
    500: '#7f175e',
    950: '#000000',
  },
}
SCSS
$custom: #7f175e;
$custom-light: #a8618b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f175e",
  "rgb": {
    "r": 127,
    "g": 23,
    "b": 94
  },
  "hsl": {
    "h": 319.038,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41063,
    "c": 0.15483,
    "h": 344.4
  },
  "luminance": 0.05933
}

Semantic roles & 50–950 ramp

primary
#7F175E
secondary
#3EB463
accent
#EC743C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7F175E

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

Preview Lab → · Contrast checker → · Palette generator →

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