#7F2B50#7F2B50

#7F2B50 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.5% C 0.122 H 356.3°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#7F2B50
RGBrgb(127, 43, 80)
HSLhsl(334, 49%, 33%)
HSVhsv(334, 66%, 50%)
CMYKcmyk(0%, 66.1%, 37%, 50.2%)
CIE-LABlab(31.39, 39.86, -3.16)
CIE-LCHlch(31.39, 39.98, 355.47°)
OKLaboklab(42.46% 0.1218 -0.0078)
OKLCHoklch(42.46% 0.122 356.3)
XYZxyz(11.0649, 6.8202, 8.3216)
Luminance0.0682 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2B50 #2B7F5A
analogous
#7F2B7A #7F2B50 #7F302B
triadic
#7F2B50 #507F2B #2B507F
tetradic
#7F2B50 #7A7F2B #2B7F5A #302B7F
square
#7F2B50 #7A7F2B #2B7F5A #302B7F
split-complementary
#7F2B50 #2B7F30 #2B7A7F
monochromatic
#240C16 #511C33 #7F2B50 #AD3A6D #C85C8C

Accessibility & contrast

On white

8.88
#7F2B50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F2B50
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2B50#FFFFFF#000000##FFFFFF
##7F2B501.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394051
Deuteranopia (green-blind)
#50504E
Tritanopia (blue-blind)
#89243A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7f2b50;
/* rgb */ color: rgb(127, 43, 80);
/* oklch */ color: oklch(42.5% 0.122 356.3);
Tailwind
colors: {
  custom: {
    50: '#a86a81',
    500: '#7f2b50',
    950: '#000000',
  },
}
SCSS
$custom: #7f2b50;
$custom-light: #a86a81;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2b50",
  "rgb": {
    "r": 127,
    "g": 43,
    "b": 80
  },
  "hsl": {
    "h": 333.571,
    "s": 49.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42455,
    "c": 0.12202,
    "h": 356.3
  },
  "luminance": 0.06819
}

Semantic roles & 50–950 ramp

primary
#7F2B50
secondary
#58AE88
accent
#D99C4F
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7F2B50

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

Preview Lab → · Contrast checker → · Palette generator →

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