#7F2A4F#7F2A4F

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

Color values

HEX#7F2A4F
RGBrgb(127, 42, 79)
HSLhsl(334, 50%, 33%)
HSVhsv(334, 67%, 50%)
CMYKcmyk(0%, 66.9%, 37.8%, 50.2%)
CIE-LABlab(31.19, 40.19, -2.80)
CIE-LCHlch(31.19, 40.29, 356.01°)
OKLaboklab(42.29% 0.1229 -0.0069)
OKLCHoklch(42.29% 0.123 356.8)
XYZxyz(10.9923, 6.7337, 8.1165)
Luminance0.0673 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2A4F #2A7F5A
analogous
#7F2A79 #7F2A4F #7F2F2A
triadic
#7F2A4F #4F7F2A #2A4F7F
tetradic
#7F2A4F #797F2A #2A7F5A #2F2A7F
square
#7F2A4F #797F2A #2A7F5A #2F2A7F
split-complementary
#7F2A4F #2A7F2F #2A797F
monochromatic
#230C16 #511B32 #7F2A4F #AD396C #C95B8B

Accessibility & contrast

On white

8.95
#7F2A4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F2A4F
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2A4F#FFFFFF#000000##FFFFFF
##7F2A4F1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f2a4f;
/* rgb */ color: rgb(127, 42, 79);
/* oklch */ color: oklch(42.3% 0.123 356.8);
Tailwind
colors: {
  custom: {
    50: '#a86980',
    500: '#7f2a4f',
    950: '#000000',
  },
}
SCSS
$custom: #7f2a4f;
$custom-light: #a86980;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2a4f",
  "rgb": {
    "r": 127,
    "g": 42,
    "b": 79
  },
  "hsl": {
    "h": 333.882,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42294,
    "c": 0.12305,
    "h": 356.8
  },
  "luminance": 0.06732
}

Semantic roles & 50–950 ramp

primary
#7F2A4F
secondary
#57AE88
accent
#DA9D4E
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7F2A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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