#7F274A#7F274A

#7F274A is a dark, vivid pink. Relative luminance 0.065; OKLCH L 41.8% C 0.125 H 359.7°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#7F274A
RGBrgb(127, 39, 74)
HSLhsl(336, 53%, 33%)
HSVhsv(336, 69%, 50%)
CMYKcmyk(0%, 69.3%, 41.7%, 50.2%)
CIE-LABlab(30.54, 40.93, -0.48)
CIE-LCHlch(30.54, 40.93, 359.33°)
OKLaboklab(41.76% 0.1253 -0.0008)
OKLCHoklch(41.76% 0.125 359.7)
XYZxyz(10.7147, 6.4588, 7.1597)
Luminance0.0646 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F274A #277F5C
analogous
#7F2776 #7F274A #7F3027
triadic
#7F274A #4A7F27 #274A7F
tetradic
#7F274A #767F27 #277F5C #30277F
square
#7F274A #767F27 #277F5C #30277F
split-complementary
#7F274A #277F30 #27767F
monochromatic
#210A13 #50192F #7F274A #AE3565 #CB5584

Accessibility & contrast

On white

9.16
#7F274A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7F274A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F274A
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F274A#FFFFFF#000000##FFFFFF
##7F274A1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383D4B
Deuteranopia (green-blind)
#504E48
Tritanopia (blue-blind)
#8A1D35
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f274a;
/* rgb */ color: rgb(127, 39, 74);
/* oklch */ color: oklch(41.8% 0.125 359.7);
Tailwind
colors: {
  custom: {
    50: '#a8687c',
    500: '#7f274a',
    950: '#000000',
  },
}
SCSS
$custom: #7f274a;
$custom-light: #a8687c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f274a",
  "rgb": {
    "r": 127,
    "g": 39,
    "b": 74
  },
  "hsl": {
    "h": 336.136,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41758,
    "c": 0.12527,
    "h": 359.7
  },
  "luminance": 0.06457
}

Semantic roles & 50–950 ramp

primary
#7F274A
secondary
#52B08A
accent
#DCA34B
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7F274A

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

Preview Lab → · Contrast checker → · Palette generator →

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