#7F2F52#7F2F52

#7F2F52 is a dark, moderate pink. Relative luminance 0.072; OKLCH L 43.0% C 0.117 H 355.9°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#7F2F52
RGBrgb(127, 47, 82)
HSLhsl(334, 46%, 34%)
HSVhsv(334, 63%, 50%)
CMYKcmyk(0%, 63%, 35.4%, 50.2%)
CIE-LABlab(32.16, 38.22, -3.33)
CIE-LCHlch(32.16, 38.37, 355.02°)
OKLaboklab(43.04% 0.1166 -0.0083)
OKLCHoklch(43.04% 0.117 355.9)
XYZxyz(11.2925, 7.1555, 8.7674)
Luminance0.0715 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2F52 #2F7F5C
analogous
#7F2F7A #7F2F52 #7F342F
triadic
#7F2F52 #527F2F #2F527F
tetradic
#7F2F52 #7A7F2F #2F7F5C #342F7F
square
#7F2F52 #7A7F2F #2F7F5C #342F7F
split-complementary
#7F2F52 #2F7F34 #2F7A7F
monochromatic
#260E18 #521E35 #7F2F52 #AC406F #C5638E

Accessibility & contrast

On white

8.64
#7F2F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#7F2F52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2F52
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2F52#FFFFFF#000000##FFFFFF
##7F2F521.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4253
Deuteranopia (green-blind)
#515150
Tritanopia (blue-blind)
#89293D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7f2f52;
/* rgb */ color: rgb(127, 47, 82);
/* oklch */ color: oklch(43.0% 0.117 355.9);
Tailwind
colors: {
  custom: {
    50: '#a76c82',
    500: '#7f2f52',
    950: '#000000',
  },
}
SCSS
$custom: #7f2f52;
$custom-light: #a76c82;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2f52",
  "rgb": {
    "r": 127,
    "g": 47,
    "b": 82
  },
  "hsl": {
    "h": 333.75,
    "s": 45.977,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43044,
    "c": 0.11686,
    "h": 355.9
  },
  "luminance": 0.07154
}

Semantic roles & 50–950 ramp

primary
#7F2F52
secondary
#5EAC8A
accent
#D69C52
background
#FAF6F7
surface
#F4ECEE
border
#CEC7C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7F2F52

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

Preview Lab → · Contrast checker → · Palette generator →

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