#7A142F#7A142F

#7A142F is a dark, vivid pink. Relative luminance 0.048; OKLCH L 38.2% C 0.135 H 12.1°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#7A142F
RGBrgb(122, 20, 47)
HSLhsl(344, 72%, 28%)
HSVhsv(344, 84%, 48%)
CMYKcmyk(0%, 83.6%, 61.5%, 52.2%)
CIE-LABlab(26.29, 43.84, 11.44)
CIE-LCHlch(26.29, 45.31, 14.62°)
OKLaboklab(38.19% 0.1324 0.0283)
OKLCHoklch(38.19% 0.135 12.1)
XYZxyz(8.7902, 4.8444, 3.1610)
Luminance0.0484 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A142F #147A5F
analogous
#7A1462 #7A142F #7A2C14
triadic
#7A142F #2F7A14 #142F7A
tetradic
#7A142F #627A14 #147A5F #2C147A
square
#7A142F #627A14 #147A5F #2C147A
split-complementary
#7A142F #147A2C #14627A
monochromatic
#1A040A #450B1B #7A142F #AF1D43 #DC2C5B

Accessibility & contrast

On white

10.67
#7A142F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#7A142F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A142F
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A142F#FFFFFF#000000##FFFFFF
##7A142F1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31312F
Deuteranopia (green-blind)
#4B462C
Tritanopia (blue-blind)
#860020
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #7a142f;
/* rgb */ color: rgb(122, 20, 47);
/* oklch */ color: oklch(38.2% 0.135 12.1);
Tailwind
colors: {
  custom: {
    50: '#a75e67',
    500: '#7a142f',
    950: '#000000',
  },
}
SCSS
$custom: #7a142f;
$custom-light: #a75e67;
$custom-dark: #000000;
JSON
{
  "hex": "#7a142f",
  "rgb": {
    "r": 122,
    "g": 20,
    "b": 47
  },
  "hsl": {
    "h": 344.118,
    "s": 71.831,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38185,
    "c": 0.1354,
    "h": 12.1
  },
  "luminance": 0.04843
}

Semantic roles & 50–950 ramp

primary
#7A142F
secondary
#3AB091
accent
#EFBF39
background
#FAF5F6
surface
#F5EAEB
border
#CFC6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7A142F

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

Preview Lab → · Contrast checker → · Palette generator →

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