#7F1736#7F1736

#7F1736 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.6% C 0.138 H 9.4°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#7F1736
RGBrgb(127, 23, 54)
HSLhsl(342, 69%, 29%)
HSVhsv(342, 82%, 50%)
CMYKcmyk(0%, 81.9%, 57.5%, 50.2%)
CIE-LABlab(27.83, 44.96, 8.97)
CIE-LCHlch(27.83, 45.85, 11.29°)
OKLaboklab(39.56% 0.1366 0.0227)
OKLCHoklch(39.56% 0.138 9.4)
XYZxyz(9.7256, 5.3926, 4.0181)
Luminance0.0539 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1736 #177F60
analogous
#7F176A #7F1736 #7F2C17
triadic
#7F1736 #367F17 #17367F
tetradic
#7F1736 #6A7F17 #177F60 #2C177F
square
#7F1736 #6A7F17 #177F60 #2C177F
split-complementary
#7F1736 #177F2C #176A7F
monochromatic
#1A050B #4B0E20 #7F1736 #B3204C #DB3667

Accessibility & contrast

On white

10.10
#7F1736 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7F1736 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1736
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1736#FFFFFF#000000##FFFFFF
##7F17361.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343437
Deuteranopia (green-blind)
#4E4933
Tritanopia (blue-blind)
#8B0025
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f1736;
/* rgb */ color: rgb(127, 23, 54);
/* oklch */ color: oklch(39.6% 0.138 9.4);
Tailwind
colors: {
  custom: {
    50: '#aa606c',
    500: '#7f1736',
    950: '#000000',
  },
}
SCSS
$custom: #7f1736;
$custom-light: #aa606c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1736",
  "rgb": {
    "r": 127,
    "g": 23,
    "b": 54
  },
  "hsl": {
    "h": 342.115,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39562,
    "c": 0.13844,
    "h": 9.4
  },
  "luminance": 0.05391
}

Semantic roles & 50–950 ramp

primary
#7F1736
secondary
#3EB491
accent
#ECB83C
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110507
muted
#807A7A

Preview Lab

Preview with #7F1736

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

Preview Lab → · Contrast checker → · Palette generator →

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