#7F1737#7F1737

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

Color values

HEX#7F1737
RGBrgb(127, 23, 55)
HSLhsl(342, 69%, 29%)
HSVhsv(342, 82%, 50%)
CMYKcmyk(0%, 81.9%, 56.7%, 50.2%)
CIE-LABlab(27.85, 45.04, 8.34)
CIE-LCHlch(27.85, 45.81, 10.49°)
OKLaboklab(39.59% 0.137 0.0212)
OKLCHoklch(39.59% 0.139 8.8)
XYZxyz(9.7493, 5.4021, 4.1430)
Luminance0.0540 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1737 #177F5F
analogous
#7F176B #7F1737 #7F2B17
triadic
#7F1737 #377F17 #17377F
tetradic
#7F1737 #6B7F17 #177F5F #2B177F
square
#7F1737 #6B7F17 #177F5F #2B177F
split-complementary
#7F1737 #177F2B #176B7F
monochromatic
#1A050B #4B0E21 #7F1737 #B3204D #DB3669

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F1737#FFFFFF#000000##FFFFFF
##7F17371.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)
#333438
Deuteranopia (green-blind)
#4E4934
Tritanopia (blue-blind)
#8B0025
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f1737;
/* rgb */ color: rgb(127, 23, 55);
/* oklch */ color: oklch(39.6% 0.139 8.8);
Tailwind
colors: {
  custom: {
    50: '#aa606d',
    500: '#7f1737',
    950: '#000000',
  },
}
SCSS
$custom: #7f1737;
$custom-light: #aa606d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1737",
  "rgb": {
    "r": 127,
    "g": 23,
    "b": 55
  },
  "hsl": {
    "h": 341.538,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3959,
    "c": 0.13861,
    "h": 8.8
  },
  "luminance": 0.05401
}

Semantic roles & 50–950 ramp

primary
#7F1737
secondary
#3EB48F
accent
#ECB63C
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110507
muted
#807A7A

Preview Lab

Preview with #7F1737

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

Preview Lab → · Contrast checker → · Palette generator →

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