#7F122E#7F122E

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

Color values

HEX#7F122E
RGBrgb(127, 18, 46)
HSLhsl(345, 75%, 28%)
HSVhsv(345, 86%, 50%)
CMYKcmyk(0%, 85.8%, 63.8%, 50.2%)
CIE-LABlab(27.14, 45.79, 13.45)
CIE-LCHlch(27.14, 47.73, 16.37°)
OKLaboklab(39% 0.1378 0.0329)
OKLCHoklch(39% 0.142 13.4)
XYZxyz(9.4629, 5.1433, 3.0787)
Luminance0.0514 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F122E #127F63
analogous
#7F1264 #7F122E #7F2C12
triadic
#7F122E #2E7F12 #122E7F
tetradic
#7F122E #647F12 #127F63 #2C127F
square
#7F122E #647F12 #127F63 #2C127F
split-complementary
#7F122E #127F2C #12647F
monochromatic
#1B040A #490A1B #7F122E #B51A41 #E12B59

Accessibility & contrast

On white

10.35
#7F122E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F122E
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F122E#FFFFFF#000000##FFFFFF
##7F122E1.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f122e;
/* rgb */ color: rgb(127, 18, 46);
/* oklch */ color: oklch(39.0% 0.142 13.4);
Tailwind
colors: {
  custom: {
    50: '#ab5e66',
    500: '#7f122e',
    950: '#000000',
  },
}
SCSS
$custom: #7f122e;
$custom-light: #ab5e66;
$custom-dark: #000000;
JSON
{
  "hex": "#7f122e",
  "rgb": {
    "r": 127,
    "g": 18,
    "b": 46
  },
  "hsl": {
    "h": 344.587,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38995,
    "c": 0.14165,
    "h": 13.4
  },
  "luminance": 0.05142
}

Semantic roles & 50–950 ramp

primary
#7F122E
secondary
#38B595
accent
#F2C236
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110505
muted
#80797A

Preview Lab

Preview with #7F122E

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

Preview Lab → · Contrast checker → · Palette generator →

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