#7F1336#7F1336

#7F1336 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.3% C 0.142 H 8.7°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#7F1336
RGBrgb(127, 19, 54)
HSLhsl(341, 74%, 29%)
HSVhsv(341, 85%, 50%)
CMYKcmyk(0%, 85%, 57.5%, 50.2%)
CIE-LABlab(27.42, 46.10, 8.42)
CIE-LCHlch(27.42, 46.87, 10.35°)
OKLaboklab(39.27% 0.1403 0.0214)
OKLCHoklch(39.27% 0.142 8.7)
XYZxyz(9.6521, 5.2455, 3.9936)
Luminance0.0524 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1336 #137F5C
analogous
#7F136C #7F1336 #7F2613
triadic
#7F1336 #367F13 #13367F
tetradic
#7F1336 #6C7F13 #137F5C #26137F
square
#7F1336 #6C7F13 #137F5C #26137F
split-complementary
#7F1336 #137F26 #136C7F
monochromatic
#1B040B #4A0B1F #7F1336 #B41B4D #E02D67

Accessibility & contrast

On white

10.25
#7F1336 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7F1336 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1336
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1336#FFFFFF#000000##FFFFFF
##7F13361.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323337
Deuteranopia (green-blind)
#4D4833
Tritanopia (blue-blind)
#8B0023
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f1336;
/* rgb */ color: rgb(127, 19, 54);
/* oklch */ color: oklch(39.3% 0.142 8.7);
Tailwind
colors: {
  custom: {
    50: '#aa5f6c',
    500: '#7f1336',
    950: '#000000',
  },
}
SCSS
$custom: #7f1336;
$custom-light: #aa5f6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1336",
  "rgb": {
    "r": 127,
    "g": 19,
    "b": 54
  },
  "hsl": {
    "h": 340.556,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39266,
    "c": 0.14189,
    "h": 8.7
  },
  "luminance": 0.05244
}

Semantic roles & 50–950 ramp

primary
#7F1336
secondary
#39B48D
accent
#F1B537
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110507
muted
#80797A

Preview Lab

Preview with #7F1336

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

Preview Lab → · Contrast checker → · Palette generator →

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