#7F1939#7F1939

#7F1939 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.8% C 0.137 H 7.9°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#7F1939
RGBrgb(127, 25, 57)
HSLhsl(341, 67%, 30%)
HSVhsv(341, 80%, 50%)
CMYKcmyk(0%, 80.3%, 55.1%, 50.2%)
CIE-LABlab(28.13, 44.58, 7.37)
CIE-LCHlch(28.13, 45.18, 9.39°)
OKLaboklab(39.81% 0.1358 0.0189)
OKLCHoklch(39.81% 0.137 7.9)
XYZxyz(9.8395, 5.5041, 4.4144)
Luminance0.0550 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1939 #197F5F
analogous
#7F196C #7F1939 #7F2C19
triadic
#7F1939 #397F19 #19397F
tetradic
#7F1939 #6C7F19 #197F5F #2C197F
square
#7F1939 #6C7F19 #197F5F #2C197F
split-complementary
#7F1939 #197F2C #196C7F
monochromatic
#1A050B #4C0F22 #7F1939 #B22350 #D83A6C

Accessibility & contrast

On white

10.00
#7F1939 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7F1939 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1939
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1939#FFFFFF#000000##FFFFFF
##7F19391.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34353A
Deuteranopia (green-blind)
#4E4A37
Tritanopia (blue-blind)
#8B0027
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f1939;
/* rgb */ color: rgb(127, 25, 57);
/* oklch */ color: oklch(39.8% 0.137 7.9);
Tailwind
colors: {
  custom: {
    50: '#aa616f',
    500: '#7f1939',
    950: '#000000',
  },
}
SCSS
$custom: #7f1939;
$custom-light: #aa616f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1939",
  "rgb": {
    "r": 127,
    "g": 25,
    "b": 57
  },
  "hsl": {
    "h": 341.176,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39809,
    "c": 0.13708,
    "h": 7.9
  },
  "luminance": 0.05503
}

Semantic roles & 50–950 ramp

primary
#7F1939
secondary
#41B38F
accent
#EAB43E
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110507
muted
#807A7A

Preview Lab

Preview with #7F1939

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

Preview Lab → · Contrast checker → · Palette generator →

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