#7F1452#7F1452

#7F1452 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.3% C 0.151 H 351.2°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#7F1452
RGBrgb(127, 20, 82)
HSLhsl(325, 73%, 29%)
HSVhsv(325, 84%, 50%)
CMYKcmyk(0%, 84.3%, 35.4%, 50.2%)
CIE-LABlab(28.44, 48.56, -8.90)
CIE-LCHlch(28.44, 49.37, 349.62°)
OKLaboklab(40.31% 0.1491 -0.0231)
OKLCHoklch(40.31% 0.151 351.2)
XYZxyz(10.5262, 5.6228, 8.5120)
Luminance0.0562 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1452 #147F41
analogous
#77147F #7F1452 #7F141C
triadic
#7F1452 #527F14 #14527F
tetradic
#7F1452 #7F7714 #147F41 #141C7F
square
#7F1452 #7F7714 #147F41 #141C7F
split-complementary
#7F1452 #1C7F14 #147F77
monochromatic
#1A0411 #4A0C30 #7F1452 #B41C74 #DE2F95

Accessibility & contrast

On white

9.89
#7F1452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7F1452 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1452
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1452#FFFFFF#000000##FFFFFF
##7F14521.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293754
Deuteranopia (green-blind)
#484A50
Tritanopia (blue-blind)
#890832
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f1452;
/* rgb */ color: rgb(127, 20, 82);
/* oklch */ color: oklch(40.3% 0.151 351.2);
Tailwind
colors: {
  custom: {
    50: '#a86082',
    500: '#7f1452',
    950: '#000000',
  },
}
SCSS
$custom: #7f1452;
$custom-light: #a86082;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1452",
  "rgb": {
    "r": 127,
    "g": 20,
    "b": 82
  },
  "hsl": {
    "h": 325.234,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40311,
    "c": 0.15085,
    "h": 351.2
  },
  "luminance": 0.05622
}

Semantic roles & 50–950 ramp

primary
#7F1452
secondary
#3BB46E
accent
#EF8538
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7F1452

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

Preview Lab → · Contrast checker → · Palette generator →

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