#7F276F#7F276F

#7F276F is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.4% C 0.148 H 335.9°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#7F276F
RGBrgb(127, 39, 111)
HSLhsl(311, 53%, 33%)
HSVhsv(311, 69%, 50%)
CMYKcmyk(0%, 69.3%, 12.6%, 50.2%)
CIE-LABlab(32.06, 46.07, -22.14)
CIE-LCHlch(32.06, 51.12, 334.33°)
OKLaboklab(43.37% 0.1347 -0.0603)
OKLCHoklch(43.37% 0.148 335.9)
XYZxyz(12.3473, 7.1118, 15.7583)
Luminance0.0711 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F276F #277F37
analogous
#63277F #7F276F #7F2743
triadic
#7F276F #6F7F27 #276F7F
tetradic
#7F276F #7F6327 #277F37 #27437F
square
#7F276F #7F6327 #277F37 #27437F
split-complementary
#7F276F #437F27 #277F63
monochromatic
#210A1D #501946 #7F276F #AE3598 #CB55B6

Accessibility & contrast

On white

8.67
#7F276F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#7F276F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F276F
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F276F#FFFFFF#000000##FFFFFF
##7F276F1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284371
Deuteranopia (green-blind)
#45506D
Tritanopia (blue-blind)
#862C47
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7f276f;
/* rgb */ color: rgb(127, 39, 111);
/* oklch */ color: oklch(43.4% 0.148 335.9);
Tailwind
colors: {
  custom: {
    50: '#a76998',
    500: '#7f276f',
    950: '#000000',
  },
}
SCSS
$custom: #7f276f;
$custom-light: #a76998;
$custom-dark: #000000;
JSON
{
  "hex": "#7f276f",
  "rgb": {
    "r": 127,
    "g": 39,
    "b": 111
  },
  "hsl": {
    "h": 310.909,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43368,
    "c": 0.14759,
    "h": 335.9
  },
  "luminance": 0.07111
}

Semantic roles & 50–950 ramp

primary
#7F276F
secondary
#52B063
accent
#DC664B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7F276F

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

Preview Lab → · Contrast checker → · Palette generator →

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