#7F264A#7F264A

#7F264A is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.6% C 0.127 H 359.4°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#7F264A
RGBrgb(127, 38, 74)
HSLhsl(336, 54%, 32%)
HSVhsv(336, 70%, 50%)
CMYKcmyk(0%, 70.1%, 41.7%, 50.2%)
CIE-LABlab(30.39, 41.36, -0.71)
CIE-LCHlch(30.39, 41.36, 359.02°)
OKLaboklab(41.64% 0.1266 -0.0013)
OKLCHoklch(41.64% 0.127 359.4)
XYZxyz(10.6823, 6.3939, 7.1489)
Luminance0.0639 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F264A #267F5B
analogous
#7F2677 #7F264A #7F2E26
triadic
#7F264A #4A7F26 #264A7F
tetradic
#7F264A #777F26 #267F5B #2E267F
square
#7F264A #777F26 #267F5B #2E267F
split-complementary
#7F264A #267F2E #26777F
monochromatic
#210A13 #50182F #7F264A #AE3465 #CC5484

Accessibility & contrast

On white

9.22
#7F264A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7F264A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F264A
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F264A#FFFFFF#000000##FFFFFF
##7F264A1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373D4B
Deuteranopia (green-blind)
#4F4E48
Tritanopia (blue-blind)
#8A1C35
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f264a;
/* rgb */ color: rgb(127, 38, 74);
/* oklch */ color: oklch(41.6% 0.127 359.4);
Tailwind
colors: {
  custom: {
    50: '#a8677c',
    500: '#7f264a',
    950: '#000000',
  },
}
SCSS
$custom: #7f264a;
$custom-light: #a8677c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f264a",
  "rgb": {
    "r": 127,
    "g": 38,
    "b": 74
  },
  "hsl": {
    "h": 335.73,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41642,
    "c": 0.12664,
    "h": 359.4
  },
  "luminance": 0.06393
}

Semantic roles & 50–950 ramp

primary
#7F264A
secondary
#51B08A
accent
#DDA24A
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7F264A

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

Preview Lab → · Contrast checker → · Palette generator →

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