#7F154C#7F154C

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

Color values

HEX#7F154C
RGBrgb(127, 21, 76)
HSLhsl(329, 72%, 29%)
HSVhsv(329, 83%, 50%)
CMYKcmyk(0%, 83.5%, 40.2%, 50.2%)
CIE-LABlab(28.30, 47.61, -5.11)
CIE-LCHlch(28.30, 47.88, 353.87°)
OKLaboklab(40.14% 0.1465 -0.0129)
OKLCHoklch(40.14% 0.147 355)
XYZxyz(10.3258, 5.5715, 7.3677)
Luminance0.0557 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F154C #157F48
analogous
#7D157F #7F154C #7F1517
triadic
#7F154C #4C7F15 #154C7F
tetradic
#7F154C #7F7D15 #157F48 #15177F
square
#7F154C #7F7D15 #157F48 #15177F
split-complementary
#7F154C #177F15 #157F7D
monochromatic
#1A0410 #4A0C2D #7F154C #B41E6B #DD318A

Accessibility & contrast

On white

9.93
#7F154C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F154C
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F154C#FFFFFF#000000##FFFFFF
##7F154C1.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C364D
Deuteranopia (green-blind)
#4A4A4A
Tritanopia (blue-blind)
#8A032F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f154c;
/* rgb */ color: rgb(127, 21, 76);
/* oklch */ color: oklch(40.1% 0.147 355.0);
Tailwind
colors: {
  custom: {
    50: '#a9607e',
    500: '#7f154c',
    950: '#000000',
  },
}
SCSS
$custom: #7f154c;
$custom-light: #a9607e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f154c",
  "rgb": {
    "r": 127,
    "g": 21,
    "b": 76
  },
  "hsl": {
    "h": 328.868,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40137,
    "c": 0.14707,
    "h": 355
  },
  "luminance": 0.0557
}

Semantic roles & 50–950 ramp

primary
#7F154C
secondary
#3CB476
accent
#EE9039
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7F154C

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

Preview Lab → · Contrast checker → · Palette generator →

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