#7F142F#7F142F

#7F142F is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.2% C 0.140 H 13.2°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#7F142F
RGBrgb(127, 20, 47)
HSLhsl(345, 73%, 29%)
HSVhsv(345, 84%, 50%)
CMYKcmyk(0%, 84.3%, 63%, 50.2%)
CIE-LABlab(27.35, 45.32, 13.05)
CIE-LCHlch(27.35, 47.17, 16.07°)
OKLaboklab(39.16% 0.1365 0.032)
OKLCHoklch(39.16% 0.14 13.2)
XYZxyz(9.5166, 5.2190, 3.1950)
Luminance0.0522 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F142F #147F64
analogous
#7F1465 #7F142F #7F2F14
triadic
#7F142F #2F7F14 #142F7F
tetradic
#7F142F #657F14 #147F64 #2F147F
square
#7F142F #657F14 #147F64 #2F147F
split-complementary
#7F142F #147F2F #14657F
monochromatic
#1A040A #4A0C1B #7F142F #B41C43 #DE2F5B

Accessibility & contrast

On white

10.28
#7F142F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7F142F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F142F
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F142F#FFFFFF#000000##FFFFFF
##7F142F1.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34332F
Deuteranopia (green-blind)
#4F482C
Tritanopia (blue-blind)
#8C0020
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f142f;
/* rgb */ color: rgb(127, 20, 47);
/* oklch */ color: oklch(39.2% 0.140 13.2);
Tailwind
colors: {
  custom: {
    50: '#ab5f67',
    500: '#7f142f',
    950: '#000000',
  },
}
SCSS
$custom: #7f142f;
$custom-light: #ab5f67;
$custom-dark: #000000;
JSON
{
  "hex": "#7f142f",
  "rgb": {
    "r": 127,
    "g": 20,
    "b": 47
  },
  "hsl": {
    "h": 344.86,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39158,
    "c": 0.14019,
    "h": 13.2
  },
  "luminance": 0.05218
}

Semantic roles & 50–950 ramp

primary
#7F142F
secondary
#3BB496
accent
#EFC138
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7F142F

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

Preview Lab → · Contrast checker → · Palette generator →

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