#7F1C44#7F1C44

#7F1C44 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.4% C 0.137 H 1.2°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#7F1C44
RGBrgb(127, 28, 68)
HSLhsl(336, 64%, 30%)
HSVhsv(336, 78%, 50%)
CMYKcmyk(0%, 78%, 46.5%, 50.2%)
CIE-LABlab(28.80, 44.59, 0.96)
CIE-LCHlch(28.80, 44.60, 1.23°)
OKLaboklab(40.41% 0.1368 0.003)
OKLCHoklch(40.41% 0.137 1.2)
XYZxyz(10.2118, 5.7612, 6.0420)
Luminance0.0576 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1C44 #1C7F57
analogous
#7F1C75 #7F1C44 #7F261C
triadic
#7F1C44 #447F1C #1C447F
tetradic
#7F1C44 #757F1C #1C7F57 #261C7F
square
#7F1C44 #757F1C #1C7F57 #261C7F
split-complementary
#7F1C44 #1C7F26 #1C757F
monochromatic
#1B060E #4D1129 #7F1C44 #B1275F #D5407C

Accessibility & contrast

On white

9.76
#7F1C44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7F1C44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1C44
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1C44#FFFFFF#000000##FFFFFF
##7F1C441.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333845
Deuteranopia (green-blind)
#4D4B42
Tritanopia (blue-blind)
#8A092D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f1c44;
/* rgb */ color: rgb(127, 28, 68);
/* oklch */ color: oklch(40.4% 0.137 1.2);
Tailwind
colors: {
  custom: {
    50: '#a96277',
    500: '#7f1c44',
    950: '#000000',
  },
}
SCSS
$custom: #7f1c44;
$custom-light: #a96277;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1c44",
  "rgb": {
    "r": 127,
    "g": 28,
    "b": 68
  },
  "hsl": {
    "h": 335.758,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40412,
    "c": 0.13683,
    "h": 1.2
  },
  "luminance": 0.0576
}

Semantic roles & 50–950 ramp

primary
#7F1C44
secondary
#44B386
accent
#E7A441
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #7F1C44

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

Preview Lab → · Contrast checker → · Palette generator →

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