#7F145E#7F145E

#7F145E is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.9% C 0.158 H 344.3°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#7F145E
RGBrgb(127, 20, 94)
HSLhsl(319, 73%, 29%)
HSVhsv(319, 84%, 50%)
CMYKcmyk(0%, 84.3%, 26%, 50.2%)
CIE-LABlab(28.96, 50.05, -16.00)
CIE-LCHlch(28.96, 52.55, 342.27°)
OKLaboklab(40.86% 0.1517 -0.0427)
OKLCHoklch(40.86% 0.158 344.3)
XYZxyz(11.0234, 5.8217, 11.1307)
Luminance0.0582 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F145E #147F35
analogous
#6B147F #7F145E #7F1429
triadic
#7F145E #5E7F14 #145E7F
tetradic
#7F145E #7F6B14 #147F35 #14297F
square
#7F145E #7F6B14 #147F35 #14297F
split-complementary
#7F145E #297F14 #147F6B
monochromatic
#1A0414 #4A0C37 #7F145E #B41C85 #DE2FA8

Accessibility & contrast

On white

9.70
#7F145E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F145E
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F145E#FFFFFF#000000##FFFFFF
##7F145E1.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233960
Deuteranopia (green-blind)
#444B5C
Tritanopia (blue-blind)
#881338
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f145e;
/* rgb */ color: rgb(127, 20, 94);
/* oklch */ color: oklch(40.9% 0.158 344.3);
Tailwind
colors: {
  custom: {
    50: '#a8608b',
    500: '#7f145e',
    950: '#000000',
  },
}
SCSS
$custom: #7f145e;
$custom-light: #a8608b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f145e",
  "rgb": {
    "r": 127,
    "g": 20,
    "b": 94
  },
  "hsl": {
    "h": 318.505,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40855,
    "c": 0.15762,
    "h": 344.3
  },
  "luminance": 0.0582
}

Semantic roles & 50–950 ramp

primary
#7F145E
secondary
#3BB460
accent
#EF7138
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7F145E

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

Preview Lab → · Contrast checker → · Palette generator →

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