#7F154D#7F154D

#7F154D is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.2% C 0.148 H 354.4°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#7F154D
RGBrgb(127, 21, 77)
HSLhsl(328, 72%, 29%)
HSVhsv(328, 83%, 50%)
CMYKcmyk(0%, 83.5%, 39.4%, 50.2%)
CIE-LABlab(28.34, 47.72, -5.72)
CIE-LCHlch(28.34, 48.06, 353.16°)
OKLaboklab(40.18% 0.1468 -0.0145)
OKLCHoklch(40.18% 0.148 354.4)
XYZxyz(10.3608, 5.5855, 7.5523)
Luminance0.0558 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F154D #157F47
analogous
#7C157F #7F154D #7F1518
triadic
#7F154D #4D7F15 #154D7F
tetradic
#7F154D #7F7C15 #157F47 #15187F
square
#7F154D #7F7C15 #157F47 #15187F
split-complementary
#7F154D #187F15 #157F7C
monochromatic
#1A0410 #4A0C2D #7F154D #B41E6D #DD318C

Accessibility & contrast

On white

9.92
#7F154D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F154D
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F154D#FFFFFF#000000##FFFFFF
##7F154D1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C374E
Deuteranopia (green-blind)
#494A4B
Tritanopia (blue-blind)
#8A042F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f154d;
/* rgb */ color: rgb(127, 21, 77);
/* oklch */ color: oklch(40.2% 0.148 354.4);
Tailwind
colors: {
  custom: {
    50: '#a9607e',
    500: '#7f154d',
    950: '#000000',
  },
}
SCSS
$custom: #7f154d;
$custom-light: #a9607e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f154d",
  "rgb": {
    "r": 127,
    "g": 21,
    "b": 77
  },
  "hsl": {
    "h": 328.302,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40176,
    "c": 0.14752,
    "h": 354.4
  },
  "luminance": 0.05584
}

Semantic roles & 50–950 ramp

primary
#7F154D
secondary
#3CB474
accent
#EE8F39
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7F154D

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

Preview Lab → · Contrast checker → · Palette generator →

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