#7F276A#7F276A

#7F276A is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.1% C 0.144 H 338.7°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#7F276A
RGBrgb(127, 39, 106)
HSLhsl(314, 53%, 33%)
HSVhsv(314, 69%, 50%)
CMYKcmyk(0%, 69.3%, 16.5%, 50.2%)
CIE-LABlab(31.82, 45.28, -19.33)
CIE-LCHlch(31.82, 49.23, 336.88°)
OKLaboklab(43.11% 0.134 -0.0523)
OKLCHoklch(43.11% 0.144 338.7)
XYZxyz(12.0797, 7.0048, 14.3487)
Luminance0.0700 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F276A #277F3C
analogous
#68277F #7F276A #7F273E
triadic
#7F276A #6A7F27 #276A7F
tetradic
#7F276A #7F6827 #277F3C #273E7F
square
#7F276A #7F6827 #277F3C #273E7F
split-complementary
#7F276A #3E7F27 #277F68
monochromatic
#210A1C #501943 #7F276A #AE3591 #CB55AF

Accessibility & contrast

On white

8.75
#7F276A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#7F276A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F276A
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F276A#FFFFFF#000000##FFFFFF
##7F276A1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B426C
Deuteranopia (green-blind)
#475068
Tritanopia (blue-blind)
#862A45
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7f276a;
/* rgb */ color: rgb(127, 39, 106);
/* oklch */ color: oklch(43.1% 0.144 338.7);
Tailwind
colors: {
  custom: {
    50: '#a76995',
    500: '#7f276a',
    950: '#000000',
  },
}
SCSS
$custom: #7f276a;
$custom-light: #a76995;
$custom-dark: #000000;
JSON
{
  "hex": "#7f276a",
  "rgb": {
    "r": 127,
    "g": 39,
    "b": 106
  },
  "hsl": {
    "h": 314.318,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43113,
    "c": 0.14379,
    "h": 338.7
  },
  "luminance": 0.07004
}

Semantic roles & 50–950 ramp

primary
#7F276A
secondary
#52B068
accent
#DC6E4B
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7F276A

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

Preview Lab → · Contrast checker → · Palette generator →

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