#7F1437#7F1437

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

Color values

HEX#7F1437
RGBrgb(127, 20, 55)
HSLhsl(340, 73%, 29%)
HSVhsv(340, 84%, 50%)
CMYKcmyk(0%, 84.3%, 56.7%, 50.2%)
CIE-LABlab(27.54, 45.91, 7.91)
CIE-LCHlch(27.54, 46.59, 9.77°)
OKLaboklab(39.36% 0.1398 0.0202)
OKLCHoklch(39.36% 0.141 8.2)
XYZxyz(9.6931, 5.2896, 4.1243)
Luminance0.0529 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1437 #147F5C
analogous
#7F146D #7F1437 #7F2714
triadic
#7F1437 #377F14 #14377F
tetradic
#7F1437 #6D7F14 #147F5C #27147F
square
#7F1437 #6D7F14 #147F5C #27147F
split-complementary
#7F1437 #147F27 #146D7F
monochromatic
#1A040B #4A0C20 #7F1437 #B41C4E #DE2F68

Accessibility & contrast

On white

10.21
#7F1437 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1437
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1437#FFFFFF#000000##FFFFFF
##7F14371.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f1437;
/* rgb */ color: rgb(127, 20, 55);
/* oklch */ color: oklch(39.4% 0.141 8.2);
Tailwind
colors: {
  custom: {
    50: '#aa5f6d',
    500: '#7f1437',
    950: '#000000',
  },
}
SCSS
$custom: #7f1437;
$custom-light: #aa5f6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1437",
  "rgb": {
    "r": 127,
    "g": 20,
    "b": 55
  },
  "hsl": {
    "h": 340.374,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39364,
    "c": 0.14124,
    "h": 8.2
  },
  "luminance": 0.05288
}

Semantic roles & 50–950 ramp

primary
#7F1437
secondary
#3BB48C
accent
#EFB438
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110507
muted
#80797A

Preview Lab

Preview with #7F1437

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

Preview Lab → · Contrast checker → · Palette generator →

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