#7F276C#7F276C

#7F276C is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.2% C 0.145 H 337.6°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#7F276C
RGBrgb(127, 39, 108)
HSLhsl(313, 53%, 33%)
HSVhsv(313, 69%, 50%)
CMYKcmyk(0%, 69.3%, 15%, 50.2%)
CIE-LABlab(31.91, 45.59, -20.46)
CIE-LCHlch(31.91, 49.97, 335.83°)
OKLaboklab(43.21% 0.1343 -0.0555)
OKLCHoklch(43.21% 0.145 337.6)
XYZxyz(12.1849, 7.0468, 14.9029)
Luminance0.0705 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F276C #277F3A
analogous
#66277F #7F276C #7F2740
triadic
#7F276C #6C7F27 #276C7F
tetradic
#7F276C #7F6627 #277F3A #27407F
square
#7F276C #7F6627 #277F3A #27407F
split-complementary
#7F276C #407F27 #277F66
monochromatic
#210A1C #501944 #7F276C #AE3594 #CB55B2

Accessibility & contrast

On white

8.72
#7F276C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#7F276C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F276C
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F276C#FFFFFF#000000##FFFFFF
##7F276C1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A426E
Deuteranopia (green-blind)
#46506A
Tritanopia (blue-blind)
#862B46
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7f276c;
/* rgb */ color: rgb(127, 39, 108);
/* oklch */ color: oklch(43.2% 0.145 337.6);
Tailwind
colors: {
  custom: {
    50: '#a76996',
    500: '#7f276c',
    950: '#000000',
  },
}
SCSS
$custom: #7f276c;
$custom-light: #a76996;
$custom-dark: #000000;
JSON
{
  "hex": "#7f276c",
  "rgb": {
    "r": 127,
    "g": 39,
    "b": 108
  },
  "hsl": {
    "h": 312.955,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43214,
    "c": 0.14529,
    "h": 337.6
  },
  "luminance": 0.07046
}

Semantic roles & 50–950 ramp

primary
#7F276C
secondary
#52B066
accent
#DC6B4B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7F276C

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

Preview Lab → · Contrast checker → · Palette generator →

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