#7F154B#7F154B

#7F154B is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.1% C 0.147 H 355.6°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#7F154B
RGBrgb(127, 21, 75)
HSLhsl(329, 72%, 29%)
HSVhsv(329, 83%, 50%)
CMYKcmyk(0%, 83.5%, 40.9%, 50.2%)
CIE-LABlab(28.27, 47.50, -4.50)
CIE-LCHlch(28.27, 47.72, 354.59°)
OKLaboklab(40.1% 0.1462 -0.0113)
OKLCHoklch(40.1% 0.147 355.6)
XYZxyz(10.2913, 5.5577, 7.1861)
Luminance0.0556 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F154B #157F49
analogous
#7E157F #7F154B #7F1516
triadic
#7F154B #4B7F15 #154B7F
tetradic
#7F154B #7F7E15 #157F49 #15167F
square
#7F154B #7F7E15 #157F49 #15167F
split-complementary
#7F154B #167F15 #157F7E
monochromatic
#1A0410 #4A0C2C #7F154B #B41E6A #DD3189

Accessibility & contrast

On white

9.95
#7F154B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F154B
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F154B#FFFFFF#000000##FFFFFF
##7F154B1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D364C
Deuteranopia (green-blind)
#4A4A49
Tritanopia (blue-blind)
#8A022E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f154b;
/* rgb */ color: rgb(127, 21, 75);
/* oklch */ color: oklch(40.1% 0.147 355.6);
Tailwind
colors: {
  custom: {
    50: '#a9607d',
    500: '#7f154b',
    950: '#000000',
  },
}
SCSS
$custom: #7f154b;
$custom-light: #a9607d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f154b",
  "rgb": {
    "r": 127,
    "g": 21,
    "b": 75
  },
  "hsl": {
    "h": 329.434,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40098,
    "c": 0.14662,
    "h": 355.6
  },
  "luminance": 0.05556
}

Semantic roles & 50–950 ramp

primary
#7F154B
secondary
#3CB477
accent
#EE9239
background
#FAF6F7
surface
#F5EBEE
border
#CFC6C9
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7F154B

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

Preview Lab → · Contrast checker → · Palette generator →

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