#7F1532#7F1532

#7F1532 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.3% C 0.140 H 11.6°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#7F1532
RGBrgb(127, 21, 50)
HSLhsl(344, 72%, 29%)
HSVhsv(344, 83%, 50%)
CMYKcmyk(0%, 83.5%, 60.6%, 50.2%)
CIE-LABlab(27.52, 45.25, 11.25)
CIE-LCHlch(27.52, 46.63, 13.97°)
OKLaboklab(39.3% 0.1368 0.028)
OKLCHoklch(39.3% 0.14 11.6)
XYZxyz(9.5973, 5.2801, 3.5308)
Luminance0.0528 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1532 #157F62
analogous
#7F1567 #7F1532 #7F2D15
triadic
#7F1532 #327F15 #15327F
tetradic
#7F1532 #677F15 #157F62 #2D157F
square
#7F1532 #677F15 #157F62 #2D157F
split-complementary
#7F1532 #157F2D #15677F
monochromatic
#1A040A #4A0C1D #7F1532 #B41E47 #DD3160

Accessibility & contrast

On white

10.22
#7F1532 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7F1532 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1532
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1532#FFFFFF#000000##FFFFFF
##7F15321.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333332
Deuteranopia (green-blind)
#4E492F
Tritanopia (blue-blind)
#8B0022
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f1532;
/* rgb */ color: rgb(127, 21, 50);
/* oklch */ color: oklch(39.3% 0.140 11.6);
Tailwind
colors: {
  custom: {
    50: '#aa5f69',
    500: '#7f1532',
    950: '#000000',
  },
}
SCSS
$custom: #7f1532;
$custom-light: #aa5f69;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1532",
  "rgb": {
    "r": 127,
    "g": 21,
    "b": 50
  },
  "hsl": {
    "h": 343.585,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39304,
    "c": 0.13966,
    "h": 11.6
  },
  "luminance": 0.05279
}

Semantic roles & 50–950 ramp

primary
#7F1532
secondary
#3CB493
accent
#EEBD39
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7F1532

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

Preview Lab → · Contrast checker → · Palette generator →

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