#7F1B43#7F1B43

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

Color values

HEX#7F1B43
RGBrgb(127, 27, 67)
HSLhsl(336, 65%, 30%)
HSVhsv(336, 79%, 50%)
CMYKcmyk(0%, 78.7%, 47.2%, 50.2%)
CIE-LABlab(28.65, 44.83, 1.41)
CIE-LCHlch(28.65, 44.85, 1.80°)
OKLaboklab(40.29% 0.1375 0.0041)
OKLCHoklch(40.29% 0.138 1.7)
XYZxyz(10.1583, 5.7025, 5.8749)
Luminance0.0570 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1B43 #1B7F57
analogous
#7F1B75 #7F1B43 #7F251B
triadic
#7F1B43 #437F1B #1B437F
tetradic
#7F1B43 #757F1B #1B7F57 #251B7F
square
#7F1B43 #757F1B #1B7F57 #251B7F
split-complementary
#7F1B43 #1B7F25 #1B757F
monochromatic
#1A060E #4D1028 #7F1B43 #B1265E #D63E7B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F1B43#FFFFFF#000000##FFFFFF
##7F1B431.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)
#323744
Deuteranopia (green-blind)
#4D4B41
Tritanopia (blue-blind)
#8A062C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f1b43;
/* rgb */ color: rgb(127, 27, 67);
/* oklch */ color: oklch(40.3% 0.138 1.7);
Tailwind
colors: {
  custom: {
    50: '#a96276',
    500: '#7f1b43',
    950: '#000000',
  },
}
SCSS
$custom: #7f1b43;
$custom-light: #a96276;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1b43",
  "rgb": {
    "r": 127,
    "g": 27,
    "b": 67
  },
  "hsl": {
    "h": 336,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40289,
    "c": 0.13759,
    "h": 1.7
  },
  "luminance": 0.05701
}

Semantic roles & 50–950 ramp

primary
#7F1B43
secondary
#43B386
accent
#E8A540
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #7F1B43

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

Preview Lab → · Contrast checker → · Palette generator →

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