#7F2E4F#7F2E4F

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

Color values

HEX#7F2E4F
RGBrgb(127, 46, 79)
HSLhsl(336, 47%, 34%)
HSVhsv(336, 64%, 50%)
CMYKcmyk(0%, 63.8%, 37.8%, 50.2%)
CIE-LABlab(31.88, 38.33, -1.79)
CIE-LCHlch(31.88, 38.37, 357.32°)
OKLaboklab(42.8% 0.117 -0.0042)
OKLCHoklch(42.8% 0.117 357.9)
XYZxyz(11.1413, 7.0318, 8.1662)
Luminance0.0703 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2E4F #2E7F5E
analogous
#7F2E78 #7F2E4F #7F362E
triadic
#7F2E4F #4F7F2E #2E4F7F
tetradic
#7F2E4F #787F2E #2E7F5E #362E7F
square
#7F2E4F #787F2E #2E7F5E #362E7F
split-complementary
#7F2E4F #2E7F36 #2E787F
monochromatic
#250D17 #521E33 #7F2E4F #AC3E6B #C6618A

Accessibility & contrast

On white

8.73
#7F2E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F2E4F
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2E4F#FFFFFF#000000##FFFFFF
##7F2E4F1.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f2e4f;
/* rgb */ color: rgb(127, 46, 79);
/* oklch */ color: oklch(42.8% 0.117 357.9);
Tailwind
colors: {
  custom: {
    50: '#a76b80',
    500: '#7f2e4f',
    950: '#000000',
  },
}
SCSS
$custom: #7f2e4f;
$custom-light: #a76b80;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2e4f",
  "rgb": {
    "r": 127,
    "g": 46,
    "b": 79
  },
  "hsl": {
    "h": 335.556,
    "s": 46.821,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42804,
    "c": 0.11709,
    "h": 357.9
  },
  "luminance": 0.07031
}

Semantic roles & 50–950 ramp

primary
#7F2E4F
secondary
#5CAD8C
accent
#D6A051
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7F2E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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