#7F2F56#7F2F56

#7F2F56 is a dark, moderate pink. Relative luminance 0.072; OKLCH L 43.2% C 0.119 H 352.9°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#7F2F56
RGBrgb(127, 47, 86)
HSLhsl(331, 46%, 34%)
HSVhsv(331, 63%, 50%)
CMYKcmyk(0%, 63%, 32.3%, 50.2%)
CIE-LABlab(32.30, 38.75, -5.72)
CIE-LCHlch(32.30, 39.17, 351.60°)
OKLaboklab(43.19% 0.1179 -0.0147)
OKLCHoklch(43.19% 0.119 352.9)
XYZxyz(11.4492, 7.2181, 9.5926)
Luminance0.0722 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2F56 #2F7F58
analogous
#7F2F7E #7F2F56 #7F302F
triadic
#7F2F56 #567F2F #2F567F
tetradic
#7F2F56 #7E7F2F #2F7F58 #302F7F
square
#7F2F56 #7E7F2F #2F7F58 #302F7F
split-complementary
#7F2F56 #2F7F30 #2F7E7F
monochromatic
#260E1A #521E38 #7F2F56 #AC4074 #C56393

Accessibility & contrast

On white

8.59
#7F2F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#7F2F56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2F56
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2F56#FFFFFF#000000##FFFFFF
##7F2F561.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4357
Deuteranopia (green-blind)
#505154
Tritanopia (blue-blind)
#882A3F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7f2f56;
/* rgb */ color: rgb(127, 47, 86);
/* oklch */ color: oklch(43.2% 0.119 352.9);
Tailwind
colors: {
  custom: {
    50: '#a76c85',
    500: '#7f2f56',
    950: '#000000',
  },
}
SCSS
$custom: #7f2f56;
$custom-light: #a76c85;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2f56",
  "rgb": {
    "r": 127,
    "g": 47,
    "b": 86
  },
  "hsl": {
    "h": 330.75,
    "s": 45.977,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43194,
    "c": 0.11883,
    "h": 352.9
  },
  "luminance": 0.07217
}

Semantic roles & 50–950 ramp

primary
#7F2F56
secondary
#5EAC86
accent
#D69652
background
#FAF6F8
surface
#F4ECEF
border
#CEC7CA
text
#10070B
muted
#7F7A7C

Preview Lab

Preview with #7F2F56

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

Preview Lab → · Contrast checker → · Palette generator →

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