#7F2E55#7F2E55

#7F2E55 is a dark, moderate pink. Relative luminance 0.071; OKLCH L 43.0% C 0.120 H 353.4°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#7F2E55
RGBrgb(127, 46, 85)
HSLhsl(331, 47%, 34%)
HSVhsv(331, 64%, 50%)
CMYKcmyk(0%, 63.8%, 33.1%, 50.2%)
CIE-LABlab(32.09, 39.10, -5.39)
CIE-LCHlch(32.09, 39.47, 352.15°)
OKLaboklab(43.03% 0.1191 -0.0138)
OKLCHoklch(43.03% 0.12 353.4)
XYZxyz(11.3696, 7.1231, 9.3687)
Luminance0.0712 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2E55 #2E7F58
analogous
#7F2E7E #7F2E55 #7F302E
triadic
#7F2E55 #557F2E #2E557F
tetradic
#7F2E55 #7E7F2E #2E7F58 #302E7F
square
#7F2E55 #7E7F2E #2E7F58 #302E7F
split-complementary
#7F2E55 #2E7F30 #2E7E7F
monochromatic
#250D19 #521E37 #7F2E55 #AC3E73 #C66192

Accessibility & contrast

On white

8.66
#7F2E55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#7F2E55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2E55
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2E55#FFFFFF#000000##FFFFFF
##7F2E551.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4256
Deuteranopia (green-blind)
#505153
Tritanopia (blue-blind)
#88293E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7f2e55;
/* rgb */ color: rgb(127, 46, 85);
/* oklch */ color: oklch(43.0% 0.120 353.4);
Tailwind
colors: {
  custom: {
    50: '#a76c84',
    500: '#7f2e55',
    950: '#000000',
  },
}
SCSS
$custom: #7f2e55;
$custom-light: #a76c84;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2e55",
  "rgb": {
    "r": 127,
    "g": 46,
    "b": 85
  },
  "hsl": {
    "h": 331.111,
    "s": 46.821,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43025,
    "c": 0.11987,
    "h": 353.4
  },
  "luminance": 0.07122
}

Semantic roles & 50–950 ramp

primary
#7F2E55
secondary
#5CAD86
accent
#D69651
background
#FAF6F8
surface
#F4ECEF
border
#CEC7CA
text
#10070B
muted
#7F7A7C

Preview Lab

Preview with #7F2E55

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

Preview Lab → · Contrast checker → · Palette generator →

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