#7F145A#7F145A

#7F145A is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.7% C 0.155 H 346.5°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#7F145A
RGBrgb(127, 20, 90)
HSLhsl(321, 73%, 29%)
HSVhsv(321, 84%, 50%)
CMYKcmyk(0%, 84.3%, 29.1%, 50.2%)
CIE-LABlab(28.78, 49.53, -13.66)
CIE-LCHlch(28.78, 51.38, 344.58°)
OKLaboklab(40.67% 0.151 -0.0362)
OKLCHoklch(40.67% 0.155 346.5)
XYZxyz(10.8486, 5.7518, 10.2098)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F145A #147F39
analogous
#6F147F #7F145A #7F1425
triadic
#7F145A #5A7F14 #145A7F
tetradic
#7F145A #7F6F14 #147F39 #14257F
square
#7F145A #7F6F14 #147F39 #14257F
split-complementary
#7F145A #257F14 #147F6F
monochromatic
#1A0413 #4A0C35 #7F145A #B41C7F #DE2FA2

Accessibility & contrast

On white

9.77
#7F145A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7F145A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F145A
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F145A#FFFFFF#000000##FFFFFF
##7F145A1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25385C
Deuteranopia (green-blind)
#464A58
Tritanopia (blue-blind)
#880F36
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f145a;
/* rgb */ color: rgb(127, 20, 90);
/* oklch */ color: oklch(40.7% 0.155 346.5);
Tailwind
colors: {
  custom: {
    50: '#a86088',
    500: '#7f145a',
    950: '#000000',
  },
}
SCSS
$custom: #7f145a;
$custom-light: #a86088;
$custom-dark: #000000;
JSON
{
  "hex": "#7f145a",
  "rgb": {
    "r": 127,
    "g": 20,
    "b": 90
  },
  "hsl": {
    "h": 320.748,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40666,
    "c": 0.15523,
    "h": 346.5
  },
  "luminance": 0.05751
}

Semantic roles & 50–950 ramp

primary
#7F145A
secondary
#3BB465
accent
#EF7838
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7F145A

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

Preview Lab → · Contrast checker → · Palette generator →

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