#7F276B#7F276B

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

Color values

HEX#7F276B
RGBrgb(127, 39, 107)
HSLhsl(314, 53%, 33%)
HSVhsv(314, 69%, 50%)
CMYKcmyk(0%, 69.3%, 15.7%, 50.2%)
CIE-LABlab(31.87, 45.43, -19.90)
CIE-LCHlch(31.87, 49.60, 336.35°)
OKLaboklab(43.16% 0.1341 -0.0539)
OKLCHoklch(43.16% 0.145 338.1)
XYZxyz(12.1320, 7.0257, 14.6242)
Luminance0.0703 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F276B #277F3B
analogous
#67277F #7F276B #7F273F
triadic
#7F276B #6B7F27 #276B7F
tetradic
#7F276B #7F6727 #277F3B #273F7F
square
#7F276B #7F6727 #277F3B #273F7F
split-complementary
#7F276B #3F7F27 #277F67
monochromatic
#210A1C #501944 #7F276B #AE3592 #CB55B0

Accessibility & contrast

On white

8.73
#7F276B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F276B
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F276B#FFFFFF#000000##FFFFFF
##7F276B1.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A426D
Deuteranopia (green-blind)
#465069
Tritanopia (blue-blind)
#862B45
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7f276b;
/* rgb */ color: rgb(127, 39, 107);
/* oklch */ color: oklch(43.2% 0.145 338.1);
Tailwind
colors: {
  custom: {
    50: '#a76995',
    500: '#7f276b',
    950: '#000000',
  },
}
SCSS
$custom: #7f276b;
$custom-light: #a76995;
$custom-dark: #000000;
JSON
{
  "hex": "#7f276b",
  "rgb": {
    "r": 127,
    "g": 39,
    "b": 107
  },
  "hsl": {
    "h": 313.636,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43163,
    "c": 0.14452,
    "h": 338.1
  },
  "luminance": 0.07025
}

Semantic roles & 50–950 ramp

primary
#7F276B
secondary
#52B067
accent
#DC6C4B
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7F276B

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

Preview Lab → · Contrast checker → · Palette generator →

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