#7F2D56#7F2D56

#7F2D56 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 42.9% C 0.122 H 352.4°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#7F2D56
RGBrgb(127, 45, 86)
HSLhsl(330, 48%, 34%)
HSVhsv(330, 65%, 50%)
CMYKcmyk(0%, 64.6%, 32.3%, 50.2%)
CIE-LABlab(31.95, 39.70, -6.24)
CIE-LCHlch(31.95, 40.19, 351.06°)
OKLaboklab(42.93% 0.1209 -0.0161)
OKLCHoklch(42.93% 0.122 352.4)
XYZxyz(11.3710, 7.0619, 9.5665)
Luminance0.0706 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2D56 #2D7F56
analogous
#7F2D7F #7F2D56 #7F2D2D
triadic
#7F2D56 #567F2D #2D567F
tetradic
#7F2D56 #7F7F2D #2D7F56 #2D2D7F
square
#7F2D56 #7F7F2D #2D7F56 #2D2D7F
split-complementary
#7F2D56 #2D7F2D #2D7F7F
monochromatic
#250D19 #521D37 #7F2D56 #AC3D75 #C76093

Accessibility & contrast

On white

8.71
#7F2D56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#7F2D56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2D56
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2D56#FFFFFF#000000##FFFFFF
##7F2D561.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394257
Deuteranopia (green-blind)
#505154
Tritanopia (blue-blind)
#88283E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7f2d56;
/* rgb */ color: rgb(127, 45, 86);
/* oklch */ color: oklch(42.9% 0.122 352.4);
Tailwind
colors: {
  custom: {
    50: '#a76b85',
    500: '#7f2d56',
    950: '#000000',
  },
}
SCSS
$custom: #7f2d56;
$custom-light: #a76b85;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2d56",
  "rgb": {
    "r": 127,
    "g": 45,
    "b": 86
  },
  "hsl": {
    "h": 330,
    "s": 47.674,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42934,
    "c": 0.12193,
    "h": 352.4
  },
  "luminance": 0.07061
}

Semantic roles & 50–950 ramp

primary
#7F2D56
secondary
#5BAD84
accent
#D79451
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10070B
muted
#7F7A7C

Preview Lab

Preview with #7F2D56

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

Preview Lab → · Contrast checker → · Palette generator →

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