#7F2E4D#7F2E4D

#7F2E4D is a dark, moderate pink. Relative luminance 0.070; OKLCH L 42.7% C 0.116 H 359.5°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#7F2E4D
RGBrgb(127, 46, 77)
HSLhsl(337, 47%, 34%)
HSVhsv(337, 64%, 50%)
CMYKcmyk(0%, 63.8%, 39.4%, 50.2%)
CIE-LABlab(31.81, 38.08, -0.58)
CIE-LCHlch(31.81, 38.08, 359.12°)
OKLaboklab(42.73% 0.1163 -0.0011)
OKLCHoklch(42.73% 0.116 359.5)
XYZxyz(11.0696, 7.0031, 7.7885)
Luminance0.0700 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2E4D #2E7F60
analogous
#7F2E76 #7F2E4D #7F382E
triadic
#7F2E4D #4D7F2E #2E4D7F
tetradic
#7F2E4D #767F2E #2E7F60 #382E7F
square
#7F2E4D #767F2E #2E7F60 #382E7F
split-complementary
#7F2E4D #2E7F38 #2E767F
monochromatic
#250D17 #521E32 #7F2E4D #AC3E68 #C66188

Accessibility & contrast

On white

8.75
#7F2E4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F2E4D
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2E4D#FFFFFF#000000##FFFFFF
##7F2E4D1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C414E
Deuteranopia (green-blind)
#52514B
Tritanopia (blue-blind)
#89263A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7f2e4d;
/* rgb */ color: rgb(127, 46, 77);
/* oklch */ color: oklch(42.7% 0.116 359.5);
Tailwind
colors: {
  custom: {
    50: '#a86b7e',
    500: '#7f2e4d',
    950: '#000000',
  },
}
SCSS
$custom: #7f2e4d;
$custom-light: #a86b7e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2e4d",
  "rgb": {
    "r": 127,
    "g": 46,
    "b": 77
  },
  "hsl": {
    "h": 337.037,
    "s": 46.821,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42734,
    "c": 0.11629,
    "h": 359.5
  },
  "luminance": 0.07002
}

Semantic roles & 50–950 ramp

primary
#7F2E4D
secondary
#5CAD8E
accent
#D6A451
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7F2E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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