#7F175D#7F175D

#7F175D is a dark, vivid pink. Relative luminance 0.059; OKLCH L 41.0% C 0.154 H 345.0°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#7F175D
RGBrgb(127, 23, 93)
HSLhsl(320, 69%, 29%)
HSVhsv(320, 82%, 50%)
CMYKcmyk(0%, 81.9%, 26.8%, 50.2%)
CIE-LABlab(29.20, 49.09, -14.97)
CIE-LCHlch(29.20, 51.32, 343.04°)
OKLaboklab(41.02% 0.149 -0.0399)
OKLCHoklch(41.02% 0.154 345)
XYZxyz(11.0351, 5.9164, 10.9146)
Luminance0.0592 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F175D #177F39
analogous
#6D177F #7F175D #7F1729
triadic
#7F175D #5D7F17 #175D7F
tetradic
#7F175D #7F6D17 #177F39 #17297F
square
#7F175D #7F6D17 #177F39 #17297F
split-complementary
#7F175D #297F17 #177F6D
monochromatic
#1A0513 #4B0E37 #7F175D #B32083 #DB36A5

Accessibility & contrast

On white

9.62
#7F175D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7F175D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F175D
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F175D#FFFFFF#000000##FFFFFF
##7F175D1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253A5F
Deuteranopia (green-blind)
#464B5B
Tritanopia (blue-blind)
#881538
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f175d;
/* rgb */ color: rgb(127, 23, 93);
/* oklch */ color: oklch(41.0% 0.154 345.0);
Tailwind
colors: {
  custom: {
    50: '#a8618b',
    500: '#7f175d',
    950: '#000000',
  },
}
SCSS
$custom: #7f175d;
$custom-light: #a8618b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f175d",
  "rgb": {
    "r": 127,
    "g": 23,
    "b": 93
  },
  "hsl": {
    "h": 319.615,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41016,
    "c": 0.15422,
    "h": 345
  },
  "luminance": 0.05915
}

Semantic roles & 50–950 ramp

primary
#7F175D
secondary
#3EB465
accent
#EC753C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7F175D

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

Preview Lab → · Contrast checker → · Palette generator →

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