#7F2A50#7F2A50

#7F2A50 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.3% C 0.123 H 356.1°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#7F2A50
RGBrgb(127, 42, 80)
HSLhsl(333, 50%, 33%)
HSVhsv(333, 67%, 50%)
CMYKcmyk(0%, 66.9%, 37%, 50.2%)
CIE-LABlab(31.23, 40.31, -3.41)
CIE-LCHlch(31.23, 40.45, 355.17°)
OKLaboklab(42.33% 0.1232 -0.0085)
OKLCHoklch(42.33% 0.123 356.1)
XYZxyz(11.0290, 6.7484, 8.3096)
Luminance0.0675 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2A50 #2A7F59
analogous
#7F2A7A #7F2A50 #7F2E2A
triadic
#7F2A50 #507F2A #2A507F
tetradic
#7F2A50 #7A7F2A #2A7F59 #2E2A7F
square
#7F2A50 #7A7F2A #2A7F59 #2E2A7F
split-complementary
#7F2A50 #2A7F2E #2A7A7F
monochromatic
#230C16 #511B33 #7F2A50 #AD396D #C95B8C

Accessibility & contrast

On white

8.94
#7F2A50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7F2A50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2A50
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2A50#FFFFFF#000000##FFFFFF
##7F2A501.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393F51
Deuteranopia (green-blind)
#504F4E
Tritanopia (blue-blind)
#892339
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7f2a50;
/* rgb */ color: rgb(127, 42, 80);
/* oklch */ color: oklch(42.3% 0.123 356.1);
Tailwind
colors: {
  custom: {
    50: '#a86981',
    500: '#7f2a50',
    950: '#000000',
  },
}
SCSS
$custom: #7f2a50;
$custom-light: #a86981;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2a50",
  "rgb": {
    "r": 127,
    "g": 42,
    "b": 80
  },
  "hsl": {
    "h": 333.176,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42331,
    "c": 0.12349,
    "h": 356.1
  },
  "luminance": 0.06747
}

Semantic roles & 50–950 ramp

primary
#7F2A50
secondary
#57AE87
accent
#DA9B4E
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7F2A50

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

Preview Lab → · Contrast checker → · Palette generator →

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