#7F1768#7F1768

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

Color values

HEX#7F1768
RGBrgb(127, 23, 104)
HSLhsl(313, 69%, 29%)
HSVhsv(313, 82%, 50%)
CMYKcmyk(0%, 81.9%, 18.1%, 50.2%)
CIE-LABlab(29.73, 50.61, -21.30)
CIE-LCHlch(29.73, 54.91, 337.18°)
OKLaboklab(41.57% 0.1507 -0.0577)
OKLCHoklch(41.57% 0.161 339)
XYZxyz(11.5578, 6.1255, 13.6677)
Luminance0.0612 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1768 #177F2E
analogous
#62177F #7F1768 #7F1734
triadic
#7F1768 #687F17 #17687F
tetradic
#7F1768 #7F6217 #177F2E #17347F
square
#7F1768 #7F6217 #177F2E #17347F
split-complementary
#7F1768 #347F17 #177F62
monochromatic
#1A0515 #4B0E3E #7F1768 #B32092 #DB36B6

Accessibility & contrast

On white

9.44
#7F1768 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1768
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1768#FFFFFF#000000##FFFFFF
##7F17681.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3C6A
Deuteranopia (green-blind)
#424C66
Tritanopia (blue-blind)
#871C3F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f1768;
/* rgb */ color: rgb(127, 23, 104);
/* oklch */ color: oklch(41.6% 0.161 339.0);
Tailwind
colors: {
  custom: {
    50: '#a86293',
    500: '#7f1768',
    950: '#000000',
  },
}
SCSS
$custom: #7f1768;
$custom-light: #a86293;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1768",
  "rgb": {
    "r": 127,
    "g": 23,
    "b": 104
  },
  "hsl": {
    "h": 313.269,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41567,
    "c": 0.16135,
    "h": 339
  },
  "luminance": 0.06124
}

Semantic roles & 50–950 ramp

primary
#7F1768
secondary
#3EB458
accent
#EC633C
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7F1768

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

Preview Lab → · Contrast checker → · Palette generator →

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