#7F154A#7F154A

#7F154A is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.1% C 0.146 H 356.2°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#7F154A
RGBrgb(127, 21, 74)
HSLhsl(330, 72%, 29%)
HSVhsv(330, 83%, 50%)
CMYKcmyk(0%, 83.5%, 41.7%, 50.2%)
CIE-LABlab(28.23, 47.40, -3.89)
CIE-LCHlch(28.23, 47.55, 355.31°)
OKLaboklab(40.06% 0.1459 -0.0096)
OKLCHoklch(40.06% 0.146 356.2)
XYZxyz(10.2573, 5.5441, 7.0072)
Luminance0.0554 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F154A #157F4A
analogous
#7F157F #7F154A #7F1515
triadic
#7F154A #4A7F15 #154A7F
tetradic
#7F154A #7F7F15 #157F4A #15157F
square
#7F154A #7F7F15 #157F4A #15157F
split-complementary
#7F154A #157F15 #157F7F
monochromatic
#1A040F #4A0C2B #7F154A #B41E69 #DD3187

Accessibility & contrast

On white

9.96
#7F154A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7F154A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F154A
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F154A#FFFFFF#000000##FFFFFF
##7F154A1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D364B
Deuteranopia (green-blind)
#4A4A48
Tritanopia (blue-blind)
#8A012E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f154a;
/* rgb */ color: rgb(127, 21, 74);
/* oklch */ color: oklch(40.1% 0.146 356.2);
Tailwind
colors: {
  custom: {
    50: '#a9607c',
    500: '#7f154a',
    950: '#000000',
  },
}
SCSS
$custom: #7f154a;
$custom-light: #a9607c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f154a",
  "rgb": {
    "r": 127,
    "g": 21,
    "b": 74
  },
  "hsl": {
    "h": 330,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.4006,
    "c": 0.14619,
    "h": 356.2
  },
  "luminance": 0.05543
}

Semantic roles & 50–950 ramp

primary
#7F154A
secondary
#3CB478
accent
#EE9439
background
#FAF6F7
surface
#F5EBEE
border
#CFC6C9
text
#110509
muted
#807A7B

Preview Lab

Preview with #7F154A

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

Preview Lab → · Contrast checker → · Palette generator →

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