#78152F#78152F

#78152F is a dark, vivid pink. Relative luminance 0.047; OKLCH L 37.9% C 0.133 H 11.8°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#78152F
RGBrgb(120, 21, 47)
HSLhsl(344, 70%, 28%)
HSVhsv(344, 83%, 47%)
CMYKcmyk(0%, 82.5%, 60.8%, 52.9%)
CIE-LABlab(25.97, 42.94, 10.94)
CIE-LCHlch(25.97, 44.31, 14.29°)
OKLaboklab(37.88% 0.1298 0.0272)
OKLCHoklch(37.88% 0.133 11.8)
XYZxyz(8.5278, 4.7359, 3.1539)
Luminance0.0474 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78152F #15785E
analogous
#781561 #78152F #782C15
triadic
#78152F #2F7815 #152F78
tetradic
#78152F #617815 #15785E #2C1578
square
#78152F #617815 #15785E #2C1578
split-complementary
#78152F #15782C #156178
monochromatic
#1A050A #440C1B #78152F #AC1E43 #DA2D5B

Accessibility & contrast

On white

10.79
#78152F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #78152F
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78152F#FFFFFF#000000##FFFFFF
##78152F1.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31312F
Deuteranopia (green-blind)
#4A452C
Tritanopia (blue-blind)
#840020
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #78152f;
/* rgb */ color: rgb(120, 21, 47);
/* oklch */ color: oklch(37.9% 0.133 11.8);
Tailwind
colors: {
  custom: {
    50: '#a55e67',
    500: '#78152f',
    950: '#000000',
  },
}
SCSS
$custom: #78152f;
$custom-light: #a55e67;
$custom-dark: #000000;
JSON
{
  "hex": "#78152f",
  "rgb": {
    "r": 120,
    "g": 21,
    "b": 47
  },
  "hsl": {
    "h": 344.242,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.37875,
    "c": 0.13258,
    "h": 11.8
  },
  "luminance": 0.04735
}

Semantic roles & 50–950 ramp

primary
#78152F
secondary
#3BAE90
accent
#EDBE3B
background
#FAF5F6
surface
#F4EAEB
border
#CEC6C6
text
#100506
muted
#7F797A

Preview Lab

Preview with #78152F

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

Preview Lab → · Contrast checker → · Palette generator →

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