#7F1942#7F1942

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

Color values

HEX#7F1942
RGBrgb(127, 25, 66)
HSLhsl(336, 67%, 30%)
HSVhsv(336, 80%, 50%)
CMYKcmyk(0%, 80.3%, 48%, 50.2%)
CIE-LABlab(28.39, 45.39, 1.69)
CIE-LCHlch(28.39, 45.42, 2.14°)
OKLaboklab(40.09% 0.1393 0.0048)
OKLCHoklch(40.09% 0.139 2)
XYZxyz(10.0842, 5.6020, 5.7035)
Luminance0.0560 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1942 #197F56
analogous
#7F1975 #7F1942 #7F2319
triadic
#7F1942 #427F19 #19427F
tetradic
#7F1942 #757F19 #197F56 #23197F
square
#7F1942 #757F19 #197F56 #23197F
split-complementary
#7F1942 #197F23 #19757F
monochromatic
#1A050D #4C0F27 #7F1942 #B2235D #D83A7A

Accessibility & contrast

On white

9.90
#7F1942 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1942
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1942#FFFFFF#000000##FFFFFF
##7F19421.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323643
Deuteranopia (green-blind)
#4D4A40
Tritanopia (blue-blind)
#8A012B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f1942;
/* rgb */ color: rgb(127, 25, 66);
/* oklch */ color: oklch(40.1% 0.139 2.0);
Tailwind
colors: {
  custom: {
    50: '#a96176',
    500: '#7f1942',
    950: '#000000',
  },
}
SCSS
$custom: #7f1942;
$custom-light: #a96176;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1942",
  "rgb": {
    "r": 127,
    "g": 25,
    "b": 66
  },
  "hsl": {
    "h": 335.882,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40085,
    "c": 0.13935,
    "h": 2
  },
  "luminance": 0.05601
}

Semantic roles & 50–950 ramp

primary
#7F1942
secondary
#41B385
accent
#EAA53E
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110508
muted
#807A7B

Preview Lab

Preview with #7F1942

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

Preview Lab → · Contrast checker → · Palette generator →

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