#7F145C#7F145C

#7F145C is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.8% C 0.156 H 345.4°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#7F145C
RGBrgb(127, 20, 92)
HSLhsl(320, 73%, 29%)
HSVhsv(320, 84%, 50%)
CMYKcmyk(0%, 84.3%, 27.6%, 50.2%)
CIE-LABlab(28.87, 49.79, -14.83)
CIE-LCHlch(28.87, 51.95, 343.41°)
OKLaboklab(40.76% 0.1514 -0.0395)
OKLCHoklch(40.76% 0.156 345.4)
XYZxyz(10.9348, 5.7863, 10.6642)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F145C #147F37
analogous
#6D147F #7F145C #7F1427
triadic
#7F145C #5C7F14 #145C7F
tetradic
#7F145C #7F6D14 #147F37 #14277F
square
#7F145C #7F6D14 #147F37 #14277F
split-complementary
#7F145C #277F14 #147F6D
monochromatic
#1A0413 #4A0C36 #7F145C #B41C82 #DE2FA5

Accessibility & contrast

On white

9.74
#7F145C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7F145C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F145C
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F145C#FFFFFF#000000##FFFFFF
##7F145C1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24395E
Deuteranopia (green-blind)
#454A5A
Tritanopia (blue-blind)
#881137
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f145c;
/* rgb */ color: rgb(127, 20, 92);
/* oklch */ color: oklch(40.8% 0.156 345.4);
Tailwind
colors: {
  custom: {
    50: '#a8608a',
    500: '#7f145c',
    950: '#000000',
  },
}
SCSS
$custom: #7f145c;
$custom-light: #a8608a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f145c",
  "rgb": {
    "r": 127,
    "g": 20,
    "b": 92
  },
  "hsl": {
    "h": 319.626,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.4076,
    "c": 0.15641,
    "h": 345.4
  },
  "luminance": 0.05785
}

Semantic roles & 50–950 ramp

primary
#7F145C
secondary
#3BB462
accent
#EF7438
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7F145C

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

Preview Lab → · Contrast checker → · Palette generator →

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