#7F1B44#7F1B44

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

Color values

HEX#7F1B44
RGBrgb(127, 27, 68)
HSLhsl(335, 65%, 30%)
HSVhsv(335, 79%, 50%)
CMYKcmyk(0%, 78.7%, 46.5%, 50.2%)
CIE-LABlab(28.68, 44.93, 0.78)
CIE-LCHlch(28.68, 44.93, 1.00°)
OKLaboklab(40.32% 0.1379 0.0025)
OKLCHoklch(40.32% 0.138 1)
XYZxyz(10.1885, 5.7146, 6.0342)
Luminance0.0571 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1B44 #1B7F56
analogous
#7F1B76 #7F1B44 #7F241B
triadic
#7F1B44 #447F1B #1B447F
tetradic
#7F1B44 #767F1B #1B7F56 #241B7F
square
#7F1B44 #767F1B #1B7F56 #241B7F
split-complementary
#7F1B44 #1B7F24 #1B767F
monochromatic
#1A060E #4D1029 #7F1B44 #B1265F #D63E7D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F1B44#FFFFFF#000000##FFFFFF
##7F1B441.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)
#323745
Deuteranopia (green-blind)
#4D4B42
Tritanopia (blue-blind)
#8A072D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f1b44;
/* rgb */ color: rgb(127, 27, 68);
/* oklch */ color: oklch(40.3% 0.138 1.0);
Tailwind
colors: {
  custom: {
    50: '#a96277',
    500: '#7f1b44',
    950: '#000000',
  },
}
SCSS
$custom: #7f1b44;
$custom-light: #a96277;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1b44",
  "rgb": {
    "r": 127,
    "g": 27,
    "b": 68
  },
  "hsl": {
    "h": 335.4,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40323,
    "c": 0.13791,
    "h": 1
  },
  "luminance": 0.05713
}

Semantic roles & 50–950 ramp

primary
#7F1B44
secondary
#43B385
accent
#E8A340
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #7F1B44

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

Preview Lab → · Contrast checker → · Palette generator →

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