#78173B#78173B

#78173B is a dark, vivid pink. Relative luminance 0.049; OKLCH L 38.4% C 0.133 H 4.1°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#78173B
RGBrgb(120, 23, 59)
HSLhsl(338, 68%, 28%)
HSVhsv(338, 81%, 47%)
CMYKcmyk(0%, 80.8%, 50.8%, 52.9%)
CIE-LABlab(26.51, 43.31, 3.54)
CIE-LCHlch(26.51, 43.45, 4.67°)
OKLaboklab(38.38% 0.1326 0.0095)
OKLCHoklch(38.38% 0.133 4.1)
XYZxyz(8.8423, 4.9228, 4.6214)
Luminance0.0492 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78173B #177854
analogous
#78176B #78173B #782317
triadic
#78173B #3B7817 #173B78
tetradic
#78173B #6B7817 #177854 #231778
square
#78173B #6B7817 #177854 #231778
split-complementary
#78173B #177823 #176B78
monochromatic
#1A050D #450D22 #78173B #AB2154 #D8326F

Accessibility & contrast

On white

10.58
#78173B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#78173B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78173B
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78173B#FFFFFF#000000##FFFFFF
##78173B1.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F333C
Deuteranopia (green-blind)
#494639
Tritanopia (blue-blind)
#830027
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #78173b;
/* rgb */ color: rgb(120, 23, 59);
/* oklch */ color: oklch(38.4% 0.133 4.1);
Tailwind
colors: {
  custom: {
    50: '#a45f70',
    500: '#78173b',
    950: '#000000',
  },
}
SCSS
$custom: #78173b;
$custom-light: #a45f70;
$custom-dark: #000000;
JSON
{
  "hex": "#78173b",
  "rgb": {
    "r": 120,
    "g": 23,
    "b": 59
  },
  "hsl": {
    "h": 337.732,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38381,
    "c": 0.13296,
    "h": 4.1
  },
  "luminance": 0.04922
}

Semantic roles & 50–950 ramp

primary
#78173B
secondary
#3EAD84
accent
#EBAA3D
background
#FAF5F6
surface
#F4EAEC
border
#CEC6C7
text
#100507
muted
#7F797A

Preview Lab

Preview with #78173B

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

Preview Lab → · Contrast checker → · Palette generator →

#78173B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva