#7F1767#7F1767

#7F1767 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.5% C 0.161 H 339.6°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#7F1767
RGBrgb(127, 23, 103)
HSLhsl(314, 69%, 29%)
HSVhsv(314, 82%, 50%)
CMYKcmyk(0%, 81.9%, 18.9%, 50.2%)
CIE-LABlab(29.68, 50.47, -20.73)
CIE-LCHlch(29.68, 54.56, 337.67°)
OKLaboklab(41.51% 0.1505 -0.0561)
OKLCHoklch(41.51% 0.161 339.6)
XYZxyz(11.5073, 6.1053, 13.4017)
Luminance0.0610 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1767 #177F2F
analogous
#63177F #7F1767 #7F1733
triadic
#7F1767 #677F17 #17677F
tetradic
#7F1767 #7F6317 #177F2F #17337F
square
#7F1767 #7F6317 #177F2F #17337F
split-complementary
#7F1767 #337F17 #177F63
monochromatic
#1A0515 #4B0E3D #7F1767 #B32091 #DB36B5

Accessibility & contrast

On white

9.46
#7F1767 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7F1767 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1767
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1767#FFFFFF#000000##FFFFFF
##7F17671.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3C69
Deuteranopia (green-blind)
#424C65
Tritanopia (blue-blind)
#871C3E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f1767;
/* rgb */ color: rgb(127, 23, 103);
/* oklch */ color: oklch(41.5% 0.161 339.6);
Tailwind
colors: {
  custom: {
    50: '#a86292',
    500: '#7f1767',
    950: '#000000',
  },
}
SCSS
$custom: #7f1767;
$custom-light: #a86292;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1767",
  "rgb": {
    "r": 127,
    "g": 23,
    "b": 103
  },
  "hsl": {
    "h": 313.846,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41514,
    "c": 0.16066,
    "h": 339.6
  },
  "luminance": 0.06104
}

Semantic roles & 50–950 ramp

primary
#7F1767
secondary
#3EB459
accent
#EC643C
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7F1767

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

Preview Lab → · Contrast checker → · Palette generator →

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