#7F1536#7F1536

#7F1536 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.4% C 0.140 H 9.0°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#7F1536
RGBrgb(127, 21, 54)
HSLhsl(341, 72%, 29%)
HSVhsv(341, 83%, 50%)
CMYKcmyk(0%, 83.5%, 57.5%, 50.2%)
CIE-LABlab(27.62, 45.55, 8.69)
CIE-LCHlch(27.62, 46.37, 10.80°)
OKLaboklab(39.41% 0.1385 0.022)
OKLCHoklch(39.41% 0.14 9)
XYZxyz(9.6874, 5.3161, 4.0053)
Luminance0.0532 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1536 #157F5E
analogous
#7F156B #7F1536 #7F2915
triadic
#7F1536 #367F15 #15367F
tetradic
#7F1536 #6B7F15 #157F5E #29157F
square
#7F1536 #6B7F15 #157F5E #29157F
split-complementary
#7F1536 #157F29 #156B7F
monochromatic
#1A040B #4A0C20 #7F1536 #B41E4C #DD3167

Accessibility & contrast

On white

10.18
#7F1536 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7F1536 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1536
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1536#FFFFFF#000000##FFFFFF
##7F15361.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333437
Deuteranopia (green-blind)
#4E4933
Tritanopia (blue-blind)
#8B0024
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f1536;
/* rgb */ color: rgb(127, 21, 54);
/* oklch */ color: oklch(39.4% 0.140 9.0);
Tailwind
colors: {
  custom: {
    50: '#aa5f6c',
    500: '#7f1536',
    950: '#000000',
  },
}
SCSS
$custom: #7f1536;
$custom-light: #aa5f6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1536",
  "rgb": {
    "r": 127,
    "g": 21,
    "b": 54
  },
  "hsl": {
    "h": 341.321,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39409,
    "c": 0.14022,
    "h": 9
  },
  "luminance": 0.05315
}

Semantic roles & 50–950 ramp

primary
#7F1536
secondary
#3CB48F
accent
#EEB639
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110507
muted
#80797A

Preview Lab

Preview with #7F1536

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

Preview Lab → · Contrast checker → · Palette generator →

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