#78162F#78162F

#78162F is a dark, vivid pink. Relative luminance 0.048; OKLCH L 38.0% C 0.132 H 12.1°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#78162F
RGBrgb(120, 22, 47)
HSLhsl(345, 69%, 28%)
HSVhsv(345, 82%, 47%)
CMYKcmyk(0%, 81.7%, 60.8%, 52.9%)
CIE-LABlab(26.08, 42.63, 11.09)
CIE-LCHlch(26.08, 44.05, 14.58°)
OKLaboklab(37.96% 0.1288 0.0275)
OKLCHoklch(37.96% 0.132 12.1)
XYZxyz(8.5466, 4.7734, 3.1601)
Luminance0.0477 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78162F #16785F
analogous
#781660 #78162F #782E16
triadic
#78162F #2F7816 #162F78
tetradic
#78162F #607816 #16785F #2E1678
square
#78162F #607816 #16785F #2E1678
split-complementary
#78162F #16782E #166078
monochromatic
#1A050A #440D1B #78162F #AC1F43 #D92F5B

Accessibility & contrast

On white

10.74
#78162F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#78162F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78162F
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78162F#FFFFFF#000000##FFFFFF
##78162F1.0010.741.9510.74
#FFFFFF10.741.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #78162f;
/* rgb */ color: rgb(120, 22, 47);
/* oklch */ color: oklch(38.0% 0.132 12.1);
Tailwind
colors: {
  custom: {
    50: '#a55e67',
    500: '#78162f',
    950: '#000000',
  },
}
SCSS
$custom: #78162f;
$custom-light: #a55e67;
$custom-dark: #000000;
JSON
{
  "hex": "#78162f",
  "rgb": {
    "r": 120,
    "g": 22,
    "b": 47
  },
  "hsl": {
    "h": 344.694,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.37957,
    "c": 0.13167,
    "h": 12.1
  },
  "luminance": 0.04772
}

Semantic roles & 50–950 ramp

primary
#78162F
secondary
#3CAD91
accent
#ECBF3C
background
#FAF5F6
surface
#F4EAEB
border
#CEC6C6
text
#100506
muted
#7F797A

Preview Lab

Preview with #78162F

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

Preview Lab → · Contrast checker → · Palette generator →

#78162F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva