#78174B#78174B

#78174B is a dark, vivid pink. Relative luminance 0.051; OKLCH L 39.0% C 0.139 H 353.2°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#78174B
RGBrgb(120, 23, 75)
HSLhsl(328, 68%, 28%)
HSVhsv(328, 81%, 47%)
CMYKcmyk(0%, 80.8%, 37.5%, 52.9%)
CIE-LABlab(27.06, 44.99, -6.45)
CIE-LCHlch(27.06, 45.45, 351.84°)
OKLaboklab(38.96% 0.1381 -0.0165)
OKLCHoklch(38.96% 0.139 353.2)
XYZxyz(9.3227, 5.1150, 7.1516)
Luminance0.0511 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78174B #177844
analogous
#741778 #78174B #78171A
triadic
#78174B #4B7817 #174B78
tetradic
#78174B #787417 #177844 #171A78
square
#78174B #787417 #177844 #171A78
split-complementary
#78174B #1A7817 #177874
monochromatic
#1A0510 #450D2B #78174B #AB216B #D8328B

Accessibility & contrast

On white

10.38
#78174B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#78174B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78174B
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78174B#FFFFFF#000000##FFFFFF
##78174B1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A354C
Deuteranopia (green-blind)
#454649
Tritanopia (blue-blind)
#820C2F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #78174b;
/* rgb */ color: rgb(120, 23, 75);
/* oklch */ color: oklch(39.0% 0.139 353.2);
Tailwind
colors: {
  custom: {
    50: '#a35f7d',
    500: '#78174b',
    950: '#000000',
  },
}
SCSS
$custom: #78174b;
$custom-light: #a35f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#78174b",
  "rgb": {
    "r": 120,
    "g": 23,
    "b": 75
  },
  "hsl": {
    "h": 327.835,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3896,
    "c": 0.13913,
    "h": 353.2
  },
  "luminance": 0.05114
}

Semantic roles & 50–950 ramp

primary
#78174B
secondary
#3EAD71
accent
#EB8E3D
background
#FAF5F7
surface
#F4EAEE
border
#CEC6C9
text
#100509
muted
#7F797B

Preview Lab

Preview with #78174B

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

Preview Lab → · Contrast checker → · Palette generator →

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