#7F112D#7F112D

#7F112D is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.9% C 0.142 H 13.8°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#7F112D
RGBrgb(127, 17, 45)
HSLhsl(345, 76%, 28%)
HSVhsv(345, 87%, 50%)
CMYKcmyk(0%, 86.6%, 64.6%, 50.2%)
CIE-LABlab(27.03, 45.98, 13.98)
CIE-LCHlch(27.03, 48.06, 16.91°)
OKLaboklab(38.91% 0.1382 0.034)
OKLCHoklch(38.91% 0.142 13.8)
XYZxyz(9.4275, 5.1038, 2.9709)
Luminance0.0510 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F112D #117F63
analogous
#7F1164 #7F112D #7F2C11
triadic
#7F112D #2D7F11 #112D7F
tetradic
#7F112D #647F11 #117F63 #2C117F
square
#7F112D #647F11 #117F63 #2C117F
split-complementary
#7F112D #117F2C #11647F
monochromatic
#1B040A #490A1A #7F112D #B51840 #E22858

Accessibility & contrast

On white

10.39
#7F112D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#7F112D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F112D
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F112D#FFFFFF#000000##FFFFFF
##7F112D1.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33322D
Deuteranopia (green-blind)
#4E482A
Tritanopia (blue-blind)
#8C001E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f112d;
/* rgb */ color: rgb(127, 17, 45);
/* oklch */ color: oklch(38.9% 0.142 13.8);
Tailwind
colors: {
  custom: {
    50: '#ab5e65',
    500: '#7f112d',
    950: '#000000',
  },
}
SCSS
$custom: #7f112d;
$custom-light: #ab5e65;
$custom-dark: #000000;
JSON
{
  "hex": "#7f112d",
  "rgb": {
    "r": 127,
    "g": 17,
    "b": 45
  },
  "hsl": {
    "h": 344.727,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38907,
    "c": 0.14231,
    "h": 13.8
  },
  "luminance": 0.05102
}

Semantic roles & 50–950 ramp

primary
#7F112D
secondary
#37B595
accent
#F3C335
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110505
muted
#80797A

Preview Lab

Preview with #7F112D

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

Preview Lab → · Contrast checker → · Palette generator →

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