#7F154E#7F154E

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

Color values

HEX#7F154E
RGBrgb(127, 21, 78)
HSLhsl(328, 72%, 29%)
HSVhsv(328, 83%, 50%)
CMYKcmyk(0%, 83.5%, 38.6%, 50.2%)
CIE-LABlab(28.38, 47.83, -6.33)
CIE-LCHlch(28.38, 48.25, 352.46°)
OKLaboklab(40.22% 0.1471 -0.0161)
OKLCHoklch(40.22% 0.148 353.7)
XYZxyz(10.3964, 5.5997, 7.7396)
Luminance0.0560 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F154E #157F46
analogous
#7B157F #7F154E #7F1519
triadic
#7F154E #4E7F15 #154E7F
tetradic
#7F154E #7F7B15 #157F46 #15197F
square
#7F154E #7F7B15 #157F46 #15197F
split-complementary
#7F154E #197F15 #157F7B
monochromatic
#1A0410 #4A0C2E #7F154E #B41E6E #DD318E

Accessibility & contrast

On white

9.91
#7F154E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F154E
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F154E#FFFFFF#000000##FFFFFF
##7F154E1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B374F
Deuteranopia (green-blind)
#494A4C
Tritanopia (blue-blind)
#8A0530
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f154e;
/* rgb */ color: rgb(127, 21, 78);
/* oklch */ color: oklch(40.2% 0.148 353.7);
Tailwind
colors: {
  custom: {
    50: '#a9607f',
    500: '#7f154e',
    950: '#000000',
  },
}
SCSS
$custom: #7f154e;
$custom-light: #a9607f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f154e",
  "rgb": {
    "r": 127,
    "g": 21,
    "b": 78
  },
  "hsl": {
    "h": 327.736,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40216,
    "c": 0.14798,
    "h": 353.7
  },
  "luminance": 0.05598
}

Semantic roles & 50–950 ramp

primary
#7F154E
secondary
#3CB473
accent
#EE8D39
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7F154E

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

Preview Lab → · Contrast checker → · Palette generator →

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