#7F2E4E#7F2E4E

#7F2E4E is a dark, moderate pink. Relative luminance 0.070; OKLCH L 42.8% C 0.117 H 358.7°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#7F2E4E
RGBrgb(127, 46, 78)
HSLhsl(336, 47%, 34%)
HSVhsv(336, 64%, 50%)
CMYKcmyk(0%, 63.8%, 38.6%, 50.2%)
CIE-LABlab(31.85, 38.20, -1.19)
CIE-LCHlch(31.85, 38.22, 358.22°)
OKLaboklab(42.77% 0.1167 -0.0026)
OKLCHoklch(42.77% 0.117 358.7)
XYZxyz(11.1052, 7.0173, 7.9759)
Luminance0.0702 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2E4E #2E7F5F
analogous
#7F2E77 #7F2E4E #7F372E
triadic
#7F2E4E #4E7F2E #2E4E7F
tetradic
#7F2E4E #777F2E #2E7F5F #372E7F
square
#7F2E4E #777F2E #2E7F5F #372E7F
split-complementary
#7F2E4E #2E7F37 #2E777F
monochromatic
#250D17 #521E32 #7F2E4E #AC3E6A #C66189

Accessibility & contrast

On white

8.74
#7F2E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#7F2E4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2E4E
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2E4E#FFFFFF#000000##FFFFFF
##7F2E4E1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C414F
Deuteranopia (green-blind)
#52514C
Tritanopia (blue-blind)
#89273B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7f2e4e;
/* rgb */ color: rgb(127, 46, 78);
/* oklch */ color: oklch(42.8% 0.117 358.7);
Tailwind
colors: {
  custom: {
    50: '#a86b7f',
    500: '#7f2e4e',
    950: '#000000',
  },
}
SCSS
$custom: #7f2e4e;
$custom-light: #a86b7f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2e4e",
  "rgb": {
    "r": 127,
    "g": 46,
    "b": 78
  },
  "hsl": {
    "h": 336.296,
    "s": 46.821,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42768,
    "c": 0.11668,
    "h": 358.7
  },
  "luminance": 0.07016
}

Semantic roles & 50–950 ramp

primary
#7F2E4E
secondary
#5CAD8D
accent
#D6A251
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7F2E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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