#7F1668#7F1668

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

Color values

HEX#7F1668
RGBrgb(127, 22, 104)
HSLhsl(313, 70%, 29%)
HSVhsv(313, 83%, 50%)
CMYKcmyk(0%, 82.7%, 18.1%, 50.2%)
CIE-LABlab(29.63, 50.89, -21.45)
CIE-LCHlch(29.63, 55.23, 337.14°)
OKLaboklab(41.5% 0.1515 -0.0582)
OKLCHoklch(41.5% 0.162 339)
XYZxyz(11.5383, 6.0865, 13.6612)
Luminance0.0609 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1668 #167F2D
analogous
#62167F #7F1668 #7F1634
triadic
#7F1668 #687F16 #16687F
tetradic
#7F1668 #7F6216 #167F2D #16347F
square
#7F1668 #7F6216 #167F2D #16347F
split-complementary
#7F1668 #347F16 #167F62
monochromatic
#1A0515 #4B0D3D #7F1668 #B31F93 #DC34B7

Accessibility & contrast

On white

9.47
#7F1668 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1668
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1668#FFFFFF#000000##FFFFFF
##7F16681.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3B6A
Deuteranopia (green-blind)
#414C66
Tritanopia (blue-blind)
#871B3E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f1668;
/* rgb */ color: rgb(127, 22, 104);
/* oklch */ color: oklch(41.5% 0.162 339.0);
Tailwind
colors: {
  custom: {
    50: '#a86193',
    500: '#7f1668',
    950: '#000000',
  },
}
SCSS
$custom: #7f1668;
$custom-light: #a86193;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1668",
  "rgb": {
    "r": 127,
    "g": 22,
    "b": 104
  },
  "hsl": {
    "h": 313.143,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41497,
    "c": 0.16229,
    "h": 339
  },
  "luminance": 0.06085
}

Semantic roles & 50–950 ramp

primary
#7F1668
secondary
#3DB457
accent
#ED623B
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7F1668

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

Preview Lab → · Contrast checker → · Palette generator →

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