#7F1A44#7F1A44

#7F1A44 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.2% C 0.139 H 0.9°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#7F1A44
RGBrgb(127, 26, 68)
HSLhsl(335, 66%, 30%)
HSVhsv(335, 80%, 50%)
CMYKcmyk(0%, 79.5%, 46.5%, 50.2%)
CIE-LABlab(28.56, 45.26, 0.61)
CIE-LCHlch(28.56, 45.26, 0.78°)
OKLaboklab(40.24% 0.139 0.0021)
OKLCHoklch(40.24% 0.139 0.9)
XYZxyz(10.1660, 5.6695, 6.0267)
Luminance0.0567 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1A44 #1A7F55
analogous
#7F1A76 #7F1A44 #7F231A
triadic
#7F1A44 #447F1A #1A447F
tetradic
#7F1A44 #767F1A #1A7F55 #231A7F
square
#7F1A44 #767F1A #1A7F55 #231A7F
split-complementary
#7F1A44 #1A7F23 #1A767F
monochromatic
#19050E #4C1029 #7F1A44 #B2245F #D73C7D

Accessibility & contrast

On white

9.84
#7F1A44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7F1A44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1A44
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1A44#FFFFFF#000000##FFFFFF
##7F1A441.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323745
Deuteranopia (green-blind)
#4D4A42
Tritanopia (blue-blind)
#8A052D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f1a44;
/* rgb */ color: rgb(127, 26, 68);
/* oklch */ color: oklch(40.2% 0.139 0.9);
Tailwind
colors: {
  custom: {
    50: '#a96177',
    500: '#7f1a44',
    950: '#000000',
  },
}
SCSS
$custom: #7f1a44;
$custom-light: #a96177;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1a44",
  "rgb": {
    "r": 127,
    "g": 26,
    "b": 68
  },
  "hsl": {
    "h": 335.05,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.40236,
    "c": 0.13898,
    "h": 0.9
  },
  "luminance": 0.05668
}

Semantic roles & 50–950 ramp

primary
#7F1A44
secondary
#42B384
accent
#E9A23F
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #7F1A44

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

Preview Lab → · Contrast checker → · Palette generator →

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