#7F1337#7F1337

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

Color values

HEX#7F1337
RGBrgb(127, 19, 55)
HSLhsl(340, 74%, 29%)
HSVhsv(340, 85%, 50%)
CMYKcmyk(0%, 85%, 56.7%, 50.2%)
CIE-LABlab(27.45, 46.18, 7.78)
CIE-LCHlch(27.45, 46.83, 9.56°)
OKLaboklab(39.29% 0.1407 0.0198)
OKLCHoklch(39.29% 0.142 8)
XYZxyz(9.6758, 5.2550, 4.1185)
Luminance0.0525 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1337 #137F5B
analogous
#7F136D #7F1337 #7F2513
triadic
#7F1337 #377F13 #13377F
tetradic
#7F1337 #6D7F13 #137F5B #25137F
square
#7F1337 #6D7F13 #137F5B #25137F
split-complementary
#7F1337 #137F25 #136D7F
monochromatic
#1B040C #4A0B20 #7F1337 #B41B4E #E02D68

Accessibility & contrast

On white

10.24
#7F1337 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1337
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1337#FFFFFF#000000##FFFFFF
##7F13371.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f1337;
/* rgb */ color: rgb(127, 19, 55);
/* oklch */ color: oklch(39.3% 0.142 8.0);
Tailwind
colors: {
  custom: {
    50: '#aa5f6d',
    500: '#7f1337',
    950: '#000000',
  },
}
SCSS
$custom: #7f1337;
$custom-light: #aa5f6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1337",
  "rgb": {
    "r": 127,
    "g": 19,
    "b": 55
  },
  "hsl": {
    "h": 340,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39294,
    "c": 0.14206,
    "h": 8
  },
  "luminance": 0.05254
}

Semantic roles & 50–950 ramp

primary
#7F1337
secondary
#39B48B
accent
#F1B337
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110507
muted
#80797A

Preview Lab

Preview with #7F1337

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

Preview Lab → · Contrast checker → · Palette generator →

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