#7F2B52#7F2B52

#7F2B52 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.5% C 0.123 H 354.9°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#7F2B52
RGBrgb(127, 43, 82)
HSLhsl(332, 49%, 33%)
HSVhsv(332, 66%, 50%)
CMYKcmyk(0%, 66.1%, 35.4%, 50.2%)
CIE-LABlab(31.46, 40.11, -4.36)
CIE-LCHlch(31.46, 40.34, 353.79°)
OKLaboklab(42.53% 0.1225 -0.011)
OKLCHoklch(42.53% 0.123 354.9)
XYZxyz(11.1399, 6.8502, 8.7166)
Luminance0.0685 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2B52 #2B7F58
analogous
#7F2B7C #7F2B52 #7F2E2B
triadic
#7F2B52 #527F2B #2B527F
tetradic
#7F2B52 #7C7F2B #2B7F58 #2E2B7F
square
#7F2B52 #7C7F2B #2B7F58 #2E2B7F
split-complementary
#7F2B52 #2B7F2E #2B7C7F
monochromatic
#240C17 #511C34 #7F2B52 #AD3A70 #C85C8E

Accessibility & contrast

On white

8.86
#7F2B52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#7F2B52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2B52
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2B52#FFFFFF#000000##FFFFFF
##7F2B521.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394053
Deuteranopia (green-blind)
#505050
Tritanopia (blue-blind)
#89253B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7f2b52;
/* rgb */ color: rgb(127, 43, 82);
/* oklch */ color: oklch(42.5% 0.123 354.9);
Tailwind
colors: {
  custom: {
    50: '#a76a82',
    500: '#7f2b52',
    950: '#000000',
  },
}
SCSS
$custom: #7f2b52;
$custom-light: #a76a82;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2b52",
  "rgb": {
    "r": 127,
    "g": 43,
    "b": 82
  },
  "hsl": {
    "h": 332.143,
    "s": 49.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42529,
    "c": 0.12294,
    "h": 354.9
  },
  "luminance": 0.06849
}

Semantic roles & 50–950 ramp

primary
#7F2B52
secondary
#58AE86
accent
#D9994F
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7F2B52

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

Preview Lab → · Contrast checker → · Palette generator →

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