#7F1457#7F1457

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

Color values

HEX#7F1457
RGBrgb(127, 20, 87)
HSLhsl(322, 73%, 29%)
HSVhsv(322, 84%, 50%)
CMYKcmyk(0%, 84.3%, 31.5%, 50.2%)
CIE-LABlab(28.65, 49.16, -11.89)
CIE-LCHlch(28.65, 50.57, 346.41°)
OKLaboklab(40.53% 0.1503 -0.0313)
OKLCHoklch(40.53% 0.154 348.2)
XYZxyz(10.7234, 5.7017, 9.5508)
Luminance0.0570 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1457 #147F3C
analogous
#72147F #7F1457 #7F1422
triadic
#7F1457 #577F14 #14577F
tetradic
#7F1457 #7F7214 #147F3C #14227F
square
#7F1457 #7F7214 #147F3C #14227F
split-complementary
#7F1457 #227F14 #147F72
monochromatic
#1A0412 #4A0C33 #7F1457 #B41C7B #DE2F9D

Accessibility & contrast

On white

9.81
#7F1457 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1457
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1457#FFFFFF#000000##FFFFFF
##7F14571.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273859
Deuteranopia (green-blind)
#474A55
Tritanopia (blue-blind)
#890D34
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f1457;
/* rgb */ color: rgb(127, 20, 87);
/* oklch */ color: oklch(40.5% 0.154 348.2);
Tailwind
colors: {
  custom: {
    50: '#a86086',
    500: '#7f1457',
    950: '#000000',
  },
}
SCSS
$custom: #7f1457;
$custom-light: #a86086;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1457",
  "rgb": {
    "r": 127,
    "g": 20,
    "b": 87
  },
  "hsl": {
    "h": 322.43,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40529,
    "c": 0.15352,
    "h": 348.2
  },
  "luminance": 0.057
}

Semantic roles & 50–950 ramp

primary
#7F1457
secondary
#3BB468
accent
#EF7D38
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7F1457

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

Preview Lab → · Contrast checker → · Palette generator →

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