#7F1440#7F1440

#7F1440 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.6% C 0.143 H 2.4°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#7F1440
RGBrgb(127, 20, 64)
HSLhsl(335, 73%, 29%)
HSVhsv(335, 84%, 50%)
CMYKcmyk(0%, 84.3%, 49.6%, 50.2%)
CIE-LABlab(27.80, 46.68, 2.19)
CIE-LCHlch(27.80, 46.73, 2.69°)
OKLaboklab(39.64% 0.1433 0.0061)
OKLCHoklch(39.64% 0.143 2.4)
XYZxyz(9.9288, 5.3839, 5.3659)
Luminance0.0538 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1440 #147F53
analogous
#7F1476 #7F1440 #7F1E14
triadic
#7F1440 #407F14 #14407F
tetradic
#7F1440 #767F14 #147F53 #1E147F
square
#7F1440 #767F14 #147F53 #1E147F
split-complementary
#7F1440 #147F1E #14767F
monochromatic
#1A040D #4A0C25 #7F1440 #B41C5B #DE2F77

Accessibility & contrast

On white

10.11
#7F1440 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7F1440 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1440
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1440#FFFFFF#000000##FFFFFF
##7F14401.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303441
Deuteranopia (green-blind)
#4C493E
Tritanopia (blue-blind)
#8B0028
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f1440;
/* rgb */ color: rgb(127, 20, 64);
/* oklch */ color: oklch(39.6% 0.143 2.4);
Tailwind
colors: {
  custom: {
    50: '#a95f74',
    500: '#7f1440',
    950: '#000000',
  },
}
SCSS
$custom: #7f1440;
$custom-light: #a95f74;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1440",
  "rgb": {
    "r": 127,
    "g": 20,
    "b": 64
  },
  "hsl": {
    "h": 335.327,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39637,
    "c": 0.14344,
    "h": 2.4
  },
  "luminance": 0.05383
}

Semantic roles & 50–950 ramp

primary
#7F1440
secondary
#3BB482
accent
#EFA438
background
#FBF5F7
surface
#F6EAED
border
#D0C6C8
text
#110508
muted
#80797B

Preview Lab

Preview with #7F1440

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

Preview Lab → · Contrast checker → · Palette generator →

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