#7F112F#7F112F

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

Color values

HEX#7F112F
RGBrgb(127, 17, 47)
HSLhsl(344, 76%, 28%)
HSVhsv(344, 87%, 50%)
CMYKcmyk(0%, 86.6%, 63%, 50.2%)
CIE-LABlab(27.07, 46.11, 12.68)
CIE-LCHlch(27.07, 47.82, 15.38°)
OKLaboklab(38.95% 0.139 0.0312)
OKLCHoklch(38.95% 0.142 12.6)
XYZxyz(9.4669, 5.1196, 3.1785)
Luminance0.0512 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F112F #117F61
analogous
#7F1166 #7F112F #7F2A11
triadic
#7F112F #2F7F11 #112F7F
tetradic
#7F112F #667F11 #117F61 #2A117F
square
#7F112F #667F11 #117F61 #2A117F
split-complementary
#7F112F #117F2A #11667F
monochromatic
#1B040A #490A1B #7F112F #B51843 #E2285B

Accessibility & contrast

On white

10.38
#7F112F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F112F
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F112F#FFFFFF#000000##FFFFFF
##7F112F1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32322F
Deuteranopia (green-blind)
#4E482C
Tritanopia (blue-blind)
#8C001F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f112f;
/* rgb */ color: rgb(127, 17, 47);
/* oklch */ color: oklch(39.0% 0.142 12.6);
Tailwind
colors: {
  custom: {
    50: '#ab5e67',
    500: '#7f112f',
    950: '#000000',
  },
}
SCSS
$custom: #7f112f;
$custom-light: #ab5e67;
$custom-dark: #000000;
JSON
{
  "hex": "#7f112f",
  "rgb": {
    "r": 127,
    "g": 17,
    "b": 47
  },
  "hsl": {
    "h": 343.636,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38954,
    "c": 0.14248,
    "h": 12.6
  },
  "luminance": 0.05118
}

Semantic roles & 50–950 ramp

primary
#7F112F
secondary
#37B593
accent
#F3BF35
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7F112F

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

Preview Lab → · Contrast checker → · Palette generator →

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