#7F1458#7F1458

#7F1458 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.6% C 0.154 H 347.7°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#7F1458
RGBrgb(127, 20, 88)
HSLhsl(322, 73%, 29%)
HSVhsv(322, 84%, 50%)
CMYKcmyk(0%, 84.3%, 30.7%, 50.2%)
CIE-LABlab(28.69, 49.28, -12.48)
CIE-LCHlch(28.69, 50.84, 345.79°)
OKLaboklab(40.57% 0.1505 -0.0329)
OKLCHoklch(40.57% 0.154 347.7)
XYZxyz(10.7646, 5.7182, 9.7675)
Luminance0.0572 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1458 #147F3B
analogous
#71147F #7F1458 #7F1423
triadic
#7F1458 #587F14 #14587F
tetradic
#7F1458 #7F7114 #147F3B #14237F
square
#7F1458 #7F7114 #147F3B #14237F
split-complementary
#7F1458 #237F14 #147F71
monochromatic
#1A0412 #4A0C33 #7F1458 #B41C7D #DE2F9E

Accessibility & contrast

On white

9.80
#7F1458 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7F1458 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1458
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1458#FFFFFF#000000##FFFFFF
##7F14581.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26385A
Deuteranopia (green-blind)
#464A56
Tritanopia (blue-blind)
#890E35
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f1458;
/* rgb */ color: rgb(127, 20, 88);
/* oklch */ color: oklch(40.6% 0.154 347.7);
Tailwind
colors: {
  custom: {
    50: '#a86087',
    500: '#7f1458',
    950: '#000000',
  },
}
SCSS
$custom: #7f1458;
$custom-light: #a86087;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1458",
  "rgb": {
    "r": 127,
    "g": 20,
    "b": 88
  },
  "hsl": {
    "h": 321.869,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40574,
    "c": 0.15408,
    "h": 347.7
  },
  "luminance": 0.05717
}

Semantic roles & 50–950 ramp

primary
#7F1458
secondary
#3BB467
accent
#EF7B38
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7F1458

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

Preview Lab → · Contrast checker → · Palette generator →

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