#7F2C52#7F2C52

#7F2C52 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.7% C 0.121 H 355.1°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#7F2C52
RGBrgb(127, 44, 82)
HSLhsl(333, 49%, 34%)
HSVhsv(333, 65%, 50%)
CMYKcmyk(0%, 65.4%, 35.4%, 50.2%)
CIE-LABlab(31.63, 39.65, -4.11)
CIE-LCHlch(31.63, 39.86, 354.08°)
OKLaboklab(42.65% 0.121 -0.0103)
OKLCHoklch(42.65% 0.121 355.1)
XYZxyz(11.1767, 6.9238, 8.7288)
Luminance0.0692 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2C52 #2C7F59
analogous
#7F2C7B #7F2C52 #7F2F2C
triadic
#7F2C52 #527F2C #2C527F
tetradic
#7F2C52 #7B7F2C #2C7F59 #2F2C7F
square
#7F2C52 #7B7F2C #2C7F59 #2F2C7F
split-complementary
#7F2C52 #2C7F2F #2C7B7F
monochromatic
#240D17 #521C35 #7F2C52 #AC3C6F #C75E8E

Accessibility & contrast

On white

8.81
#7F2C52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#7F2C52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2C52
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2C52#FFFFFF#000000##FFFFFF
##7F2C521.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f2c52;
/* rgb */ color: rgb(127, 44, 82);
/* oklch */ color: oklch(42.7% 0.121 355.1);
Tailwind
colors: {
  custom: {
    50: '#a76a82',
    500: '#7f2c52',
    950: '#000000',
  },
}
SCSS
$custom: #7f2c52;
$custom-light: #a76a82;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2c52",
  "rgb": {
    "r": 127,
    "g": 44,
    "b": 82
  },
  "hsl": {
    "h": 332.53,
    "s": 48.538,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42654,
    "c": 0.12145,
    "h": 355.1
  },
  "luminance": 0.06923
}

Semantic roles & 50–950 ramp

primary
#7F2C52
secondary
#59AD87
accent
#D89A50
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7F2C52

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

Preview Lab → · Contrast checker → · Palette generator →

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