#7F276E#7F276E

#7F276E is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.3% C 0.147 H 336.4°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#7F276E
RGBrgb(127, 39, 110)
HSLhsl(312, 53%, 33%)
HSVhsv(312, 69%, 50%)
CMYKcmyk(0%, 69.3%, 13.4%, 50.2%)
CIE-LABlab(32.01, 45.91, -21.58)
CIE-LCHlch(32.01, 50.73, 334.82°)
OKLaboklab(43.32% 0.1346 -0.0587)
OKLCHoklch(43.32% 0.147 336.4)
XYZxyz(12.2926, 7.0899, 15.4699)
Luminance0.0709 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F276E #277F38
analogous
#64277F #7F276E #7F2742
triadic
#7F276E #6E7F27 #276E7F
tetradic
#7F276E #7F6427 #277F38 #27427F
square
#7F276E #7F6427 #277F38 #27427F
split-complementary
#7F276E #427F27 #277F64
monochromatic
#210A1D #501945 #7F276E #AE3597 #CB55B4

Accessibility & contrast

On white

8.69
#7F276E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F276E
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F276E#FFFFFF#000000##FFFFFF
##7F276E1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f276e;
/* rgb */ color: rgb(127, 39, 110);
/* oklch */ color: oklch(43.3% 0.147 336.4);
Tailwind
colors: {
  custom: {
    50: '#a76998',
    500: '#7f276e',
    950: '#000000',
  },
}
SCSS
$custom: #7f276e;
$custom-light: #a76998;
$custom-dark: #000000;
JSON
{
  "hex": "#7f276e",
  "rgb": {
    "r": 127,
    "g": 39,
    "b": 110
  },
  "hsl": {
    "h": 311.591,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43316,
    "c": 0.14681,
    "h": 336.4
  },
  "luminance": 0.07089
}

Semantic roles & 50–950 ramp

primary
#7F276E
secondary
#52B064
accent
#DC674B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7F276E

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

Preview Lab → · Contrast checker → · Palette generator →

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