#7F1351#7F1351

#7F1351 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.2% C 0.151 H 351.7°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#7F1351
RGBrgb(127, 19, 81)
HSLhsl(326, 74%, 29%)
HSVhsv(326, 85%, 50%)
CMYKcmyk(0%, 85%, 36.2%, 50.2%)
CIE-LABlab(28.31, 48.71, -8.43)
CIE-LCHlch(28.31, 49.43, 350.18°)
OKLaboklab(40.2% 0.1496 -0.0218)
OKLCHoklch(40.2% 0.151 351.7)
XYZxyz(10.4711, 5.5732, 8.3073)
Luminance0.0557 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1351 #137F41
analogous
#77137F #7F1351 #7F131B
triadic
#7F1351 #517F13 #13517F
tetradic
#7F1351 #7F7713 #137F41 #131B7F
square
#7F1351 #7F7713 #137F41 #131B7F
split-complementary
#7F1351 #1B7F13 #137F77
monochromatic
#1B0411 #4A0B2F #7F1351 #B41B73 #E02D93

Accessibility & contrast

On white

9.93
#7F1351 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7F1351 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1351
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1351#FFFFFF#000000##FFFFFF
##7F13511.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293752
Deuteranopia (green-blind)
#484A4F
Tritanopia (blue-blind)
#890531
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f1351;
/* rgb */ color: rgb(127, 19, 81);
/* oklch */ color: oklch(40.2% 0.151 351.7);
Tailwind
colors: {
  custom: {
    50: '#a96081',
    500: '#7f1351',
    950: '#000000',
  },
}
SCSS
$custom: #7f1351;
$custom-light: #a96081;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1351",
  "rgb": {
    "r": 127,
    "g": 19,
    "b": 81
  },
  "hsl": {
    "h": 325.556,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40203,
    "c": 0.15122,
    "h": 351.7
  },
  "luminance": 0.05572
}

Semantic roles & 50–950 ramp

primary
#7F1351
secondary
#39B46E
accent
#F18637
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7F1351

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

Preview Lab → · Contrast checker → · Palette generator →

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