#7F2F59#7F2F59

#7F2F59 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.3% C 0.120 H 350.7°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#7F2F59
RGBrgb(127, 47, 89)
HSLhsl(329, 46%, 34%)
HSVhsv(329, 63%, 50%)
CMYKcmyk(0%, 63%, 29.9%, 50.2%)
CIE-LABlab(32.41, 39.16, -7.50)
CIE-LCHlch(32.41, 39.87, 349.16°)
OKLaboklab(43.31% 0.1189 -0.0195)
OKLCHoklch(43.31% 0.12 350.7)
XYZxyz(11.5726, 7.2675, 10.2426)
Luminance0.0727 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2F59 #2F7F55
analogous
#7D2F7F #7F2F59 #7F2F31
triadic
#7F2F59 #597F2F #2F597F
tetradic
#7F2F59 #7F7D2F #2F7F55 #2F317F
square
#7F2F59 #7F7D2F #2F7F55 #2F317F
split-complementary
#7F2F59 #317F2F #2F7F7D
monochromatic
#260E1A #521E3A #7F2F59 #AC4078 #C56397

Accessibility & contrast

On white

8.56
#7F2F59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#7F2F59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2F59
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2F59#FFFFFF#000000##FFFFFF
##7F2F591.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A435A
Deuteranopia (green-blind)
#505157
Tritanopia (blue-blind)
#882B40
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7f2f59;
/* rgb */ color: rgb(127, 47, 89);
/* oklch */ color: oklch(43.3% 0.120 350.7);
Tailwind
colors: {
  custom: {
    50: '#a76c87',
    500: '#7f2f59',
    950: '#000000',
  },
}
SCSS
$custom: #7f2f59;
$custom-light: #a76c87;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2f59",
  "rgb": {
    "r": 127,
    "g": 47,
    "b": 89
  },
  "hsl": {
    "h": 328.5,
    "s": 45.977,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43312,
    "c": 0.12045,
    "h": 350.7
  },
  "luminance": 0.07266
}

Semantic roles & 50–950 ramp

primary
#7F2F59
secondary
#5EAC83
accent
#D69152
background
#FAF6F8
surface
#F4ECEF
border
#CEC7CA
text
#10070B
muted
#7F7A7C

Preview Lab

Preview with #7F2F59

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

Preview Lab → · Contrast checker → · Palette generator →

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