#7F2D4E#7F2D4E

#7F2D4E is a dark, moderate pink. Relative luminance 0.069; OKLCH L 42.6% C 0.118 H 358.4°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#7F2D4E
RGBrgb(127, 45, 78)
HSLhsl(336, 48%, 34%)
HSVhsv(336, 65%, 50%)
CMYKcmyk(0%, 64.6%, 38.6%, 50.2%)
CIE-LABlab(31.67, 38.68, -1.45)
CIE-LCHlch(31.67, 38.71, 357.86°)
OKLaboklab(42.64% 0.1182 -0.0033)
OKLCHoklch(42.64% 0.118 358.4)
XYZxyz(11.0666, 6.9401, 7.9630)
Luminance0.0694 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2D4E #2D7F5E
analogous
#7F2D77 #7F2D4E #7F352D
triadic
#7F2D4E #4E7F2D #2D4E7F
tetradic
#7F2D4E #777F2D #2D7F5E #352D7F
square
#7F2D4E #777F2D #2D7F5E #352D7F
split-complementary
#7F2D4E #2D7F35 #2D777F
monochromatic
#250D16 #521D32 #7F2D4E #AC3D6A #C76089

Accessibility & contrast

On white

8.79
#7F2D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#7F2D4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2D4E
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2D4E#FFFFFF#000000##FFFFFF
##7F2D4E1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B414F
Deuteranopia (green-blind)
#51504C
Tritanopia (blue-blind)
#89263A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7f2d4e;
/* rgb */ color: rgb(127, 45, 78);
/* oklch */ color: oklch(42.6% 0.118 358.4);
Tailwind
colors: {
  custom: {
    50: '#a86b7f',
    500: '#7f2d4e',
    950: '#000000',
  },
}
SCSS
$custom: #7f2d4e;
$custom-light: #a86b7f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2d4e",
  "rgb": {
    "r": 127,
    "g": 45,
    "b": 78
  },
  "hsl": {
    "h": 335.854,
    "s": 47.674,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42637,
    "c": 0.1182,
    "h": 358.4
  },
  "luminance": 0.06939
}

Semantic roles & 50–950 ramp

primary
#7F2D4E
secondary
#5BAD8C
accent
#D7A151
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7F2D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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