#7A143C#7A143C

#7A143C is a dark, vivid pink. Relative luminance 0.050; OKLCH L 38.6% C 0.138 H 3.5°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#7A143C
RGBrgb(122, 20, 60)
HSLhsl(336, 72%, 28%)
HSVhsv(336, 84%, 48%)
CMYKcmyk(0%, 83.6%, 50.8%, 52.2%)
CIE-LABlab(26.64, 44.90, 3.09)
CIE-LCHlch(26.64, 45.01, 3.93°)
OKLaboklab(38.56% 0.1377 0.0083)
OKLCHoklch(38.56% 0.138 3.5)
XYZxyz(9.0926, 4.9654, 4.7537)
Luminance0.0496 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A143C #147A52
analogous
#7A146F #7A143C #7A1F14
triadic
#7A143C #3C7A14 #143C7A
tetradic
#7A143C #6F7A14 #147A52 #1F147A
square
#7A143C #6F7A14 #147A52 #1F147A
split-complementary
#7A143C #147A1F #146F7A
monochromatic
#1A040D #450B22 #7A143C #AF1D56 #DC2C71

Accessibility & contrast

On white

10.54
#7A143C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#7A143C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A143C
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A143C#FFFFFF#000000##FFFFFF
##7A143C1.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E323D
Deuteranopia (green-blind)
#49463A
Tritanopia (blue-blind)
#850026
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7a143c;
/* rgb */ color: rgb(122, 20, 60);
/* oklch */ color: oklch(38.6% 0.138 3.5);
Tailwind
colors: {
  custom: {
    50: '#a65e71',
    500: '#7a143c',
    950: '#000000',
  },
}
SCSS
$custom: #7a143c;
$custom-light: #a65e71;
$custom-dark: #000000;
JSON
{
  "hex": "#7a143c",
  "rgb": {
    "r": 122,
    "g": 20,
    "b": 60
  },
  "hsl": {
    "h": 336.471,
    "s": 71.831,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38556,
    "c": 0.13792,
    "h": 3.5
  },
  "luminance": 0.04964
}

Semantic roles & 50–950 ramp

primary
#7A143C
secondary
#3AB082
accent
#EFA739
background
#FAF5F6
surface
#F4EAEC
border
#CEC6C7
text
#100507
muted
#7F797A

Preview Lab

Preview with #7A143C

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

Preview Lab → · Contrast checker → · Palette generator →

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