#7F2B4E#7F2B4E

#7F2B4E is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.4% C 0.121 H 357.8°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#7F2B4E
RGBrgb(127, 43, 78)
HSLhsl(335, 49%, 33%)
HSVhsv(335, 66%, 50%)
CMYKcmyk(0%, 66.1%, 38.6%, 50.2%)
CIE-LABlab(31.33, 39.61, -1.95)
CIE-LCHlch(31.33, 39.66, 357.18°)
OKLaboklab(42.38% 0.1211 -0.0046)
OKLCHoklch(42.38% 0.121 357.8)
XYZxyz(10.9921, 6.7911, 7.9382)
Luminance0.0679 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2B4E #2B7F5C
analogous
#7F2B78 #7F2B4E #7F322B
triadic
#7F2B4E #4E7F2B #2B4E7F
tetradic
#7F2B4E #787F2B #2B7F5C #322B7F
square
#7F2B4E #787F2B #2B7F5C #322B7F
split-complementary
#7F2B4E #2B7F32 #2B787F
monochromatic
#240C16 #511C32 #7F2B4E #AD3A6A #C85C89

Accessibility & contrast

On white

8.91
#7F2B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7F2B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2B4E
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2B4E#FFFFFF#000000##FFFFFF
##7F2B4E1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f2b4e;
/* rgb */ color: rgb(127, 43, 78);
/* oklch */ color: oklch(42.4% 0.121 357.8);
Tailwind
colors: {
  custom: {
    50: '#a86a7f',
    500: '#7f2b4e',
    950: '#000000',
  },
}
SCSS
$custom: #7f2b4e;
$custom-light: #a86a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2b4e",
  "rgb": {
    "r": 127,
    "g": 43,
    "b": 78
  },
  "hsl": {
    "h": 335,
    "s": 49.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42382,
    "c": 0.12116,
    "h": 357.8
  },
  "luminance": 0.0679
}

Semantic roles & 50–950 ramp

primary
#7F2B4E
secondary
#58AE8A
accent
#D99F4F
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7F2B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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