#7F2C4E#7F2C4E

#7F2C4E is a dark, moderate pink. Relative luminance 0.069; OKLCH L 42.5% C 0.120 H 358.1°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#7F2C4E
RGBrgb(127, 44, 78)
HSLhsl(335, 49%, 34%)
HSVhsv(335, 65%, 50%)
CMYKcmyk(0%, 65.4%, 38.6%, 50.2%)
CIE-LABlab(31.50, 39.15, -1.70)
CIE-LCHlch(31.50, 39.18, 357.51°)
OKLaboklab(42.51% 0.1196 -0.004)
OKLCHoklch(42.51% 0.12 358.1)
XYZxyz(11.0289, 6.8647, 7.9505)
Luminance0.0686 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2C4E #2C7F5D
analogous
#7F2C77 #7F2C4E #7F332C
triadic
#7F2C4E #4E7F2C #2C4E7F
tetradic
#7F2C4E #777F2C #2C7F5D #332C7F
square
#7F2C4E #777F2C #2C7F5D #332C7F
split-complementary
#7F2C4E #2C7F33 #2C777F
monochromatic
#240D16 #521C32 #7F2C4E #AC3C6A #C75E89

Accessibility & contrast

On white

8.85
#7F2C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#7F2C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2C4E
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2C4E#FFFFFF#000000##FFFFFF
##7F2C4E1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B404F
Deuteranopia (green-blind)
#51504C
Tritanopia (blue-blind)
#892439
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7f2c4e;
/* rgb */ color: rgb(127, 44, 78);
/* oklch */ color: oklch(42.5% 0.120 358.1);
Tailwind
colors: {
  custom: {
    50: '#a86a7f',
    500: '#7f2c4e',
    950: '#000000',
  },
}
SCSS
$custom: #7f2c4e;
$custom-light: #a86a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2c4e",
  "rgb": {
    "r": 127,
    "g": 44,
    "b": 78
  },
  "hsl": {
    "h": 335.422,
    "s": 48.538,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42509,
    "c": 0.11969,
    "h": 358.1
  },
  "luminance": 0.06863
}

Semantic roles & 50–950 ramp

primary
#7F2C4E
secondary
#59AD8B
accent
#D8A050
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7F2C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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