#7F1941#7F1941

#7F1941 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.1% C 0.139 H 2.7°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#7F1941
RGBrgb(127, 25, 65)
HSLhsl(336, 67%, 30%)
HSVhsv(336, 80%, 50%)
CMYKcmyk(0%, 80.3%, 48.8%, 50.2%)
CIE-LABlab(28.35, 45.29, 2.32)
CIE-LCHlch(28.35, 45.35, 2.93°)
OKLaboklab(40.05% 0.1389 0.0064)
OKLCHoklch(40.05% 0.139 2.7)
XYZxyz(10.0550, 5.5903, 5.5496)
Luminance0.0559 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1941 #197F57
analogous
#7F1974 #7F1941 #7F2419
triadic
#7F1941 #417F19 #19417F
tetradic
#7F1941 #747F19 #197F57 #24197F
square
#7F1941 #747F19 #197F57 #24197F
split-complementary
#7F1941 #197F24 #19747F
monochromatic
#1A050D #4C0F27 #7F1941 #B2235B #D83A78

Accessibility & contrast

On white

9.92
#7F1941 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7F1941 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1941
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1941#FFFFFF#000000##FFFFFF
##7F19411.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323642
Deuteranopia (green-blind)
#4D4A3F
Tritanopia (blue-blind)
#8B012B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f1941;
/* rgb */ color: rgb(127, 25, 65);
/* oklch */ color: oklch(40.1% 0.139 2.7);
Tailwind
colors: {
  custom: {
    50: '#a96175',
    500: '#7f1941',
    950: '#000000',
  },
}
SCSS
$custom: #7f1941;
$custom-light: #a96175;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1941",
  "rgb": {
    "r": 127,
    "g": 25,
    "b": 65
  },
  "hsl": {
    "h": 336.471,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40052,
    "c": 0.13905,
    "h": 2.7
  },
  "luminance": 0.05589
}

Semantic roles & 50–950 ramp

primary
#7F1941
secondary
#41B386
accent
#EAA63E
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110508
muted
#807A7B

Preview Lab

Preview with #7F1941

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

Preview Lab → · Contrast checker → · Palette generator →

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