#7F122F#7F122F

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

Color values

HEX#7F122F
RGBrgb(127, 18, 47)
HSLhsl(344, 75%, 28%)
HSVhsv(344, 86%, 50%)
CMYKcmyk(0%, 85.8%, 63%, 50.2%)
CIE-LABlab(27.16, 45.86, 12.80)
CIE-LCHlch(27.16, 47.61, 15.60°)
OKLaboklab(39.02% 0.1382 0.0314)
OKLCHoklch(39.02% 0.142 12.8)
XYZxyz(9.4828, 5.1513, 3.1838)
Luminance0.0515 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F122F #127F62
analogous
#7F1265 #7F122F #7F2C12
triadic
#7F122F #2F7F12 #122F7F
tetradic
#7F122F #657F12 #127F62 #2C127F
square
#7F122F #657F12 #127F62 #2C127F
split-complementary
#7F122F #127F2C #12657F
monochromatic
#1B040A #490A1B #7F122F #B51A43 #E12B5B

Accessibility & contrast

On white

10.34
#7F122F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7F122F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F122F
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F122F#FFFFFF#000000##FFFFFF
##7F122F1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f122f;
/* rgb */ color: rgb(127, 18, 47);
/* oklch */ color: oklch(39.0% 0.142 12.8);
Tailwind
colors: {
  custom: {
    50: '#ab5e67',
    500: '#7f122f',
    950: '#000000',
  },
}
SCSS
$custom: #7f122f;
$custom-light: #ab5e67;
$custom-dark: #000000;
JSON
{
  "hex": "#7f122f",
  "rgb": {
    "r": 127,
    "g": 18,
    "b": 47
  },
  "hsl": {
    "h": 344.037,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39019,
    "c": 0.14174,
    "h": 12.8
  },
  "luminance": 0.0515
}

Semantic roles & 50–950 ramp

primary
#7F122F
secondary
#38B594
accent
#F2C036
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7F122F

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

Preview Lab → · Contrast checker → · Palette generator →

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