#784158#784158

#784158 is a dark, moderate pink. Relative luminance 0.085; OKLCH L 45.0% C 0.081 H 354.4°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#784158
RGBrgb(120, 65, 88)
HSLhsl(335, 30%, 36%)
HSVhsv(335, 46%, 47%)
CMYKcmyk(0%, 45.8%, 26.7%, 52.9%)
CIE-LABlab(34.96, 26.90, -3.17)
CIE-LCHlch(34.96, 27.09, 353.29°)
OKLaboklab(44.99% 0.0811 -0.008)
OKLCHoklch(44.99% 0.081 354.4)
XYZxyz(11.3978, 8.4791, 10.2670)
Luminance0.0848 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784158 #417861
analogous
#784174 #784158 #784641
triadic
#784158 #587841 #415878
tetradic
#784158 #747841 #417861 #464178
square
#784158 #747841 #417861 #464178
split-complementary
#784158 #417846 #417478
monochromatic
#29161E #502B3B #784158 #A05775 #B87C95

Accessibility & contrast

On white

7.79
#784158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#784158 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #784158
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784158#FFFFFF#000000##FFFFFF
##7841581.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484C59
Deuteranopia (green-blind)
#565657
Tritanopia (blue-blind)
#803E49
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #784158;
/* rgb */ color: rgb(120, 65, 88);
/* oklch */ color: oklch(45.0% 0.081 354.4);
Tailwind
colors: {
  custom: {
    50: '#a17787',
    500: '#784158',
    950: '#000000',
  },
}
SCSS
$custom: #784158;
$custom-light: #a17787;
$custom-dark: #000000;
JSON
{
  "hex": "#784158",
  "rgb": {
    "r": 120,
    "g": 65,
    "b": 88
  },
  "hsl": {
    "h": 334.909,
    "s": 29.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44989,
    "c": 0.08145,
    "h": 354.4
  },
  "luminance": 0.08478
}

Semantic roles & 50–950 ramp

primary
#784158
secondary
#72A38E
accent
#C69C62
background
#FAF7F8
surface
#F3EDEF
border
#CDC8CA
text
#0F090B
muted
#7F7B7C

Preview Lab

Preview with #784158

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

Preview Lab → · Contrast checker → · Palette generator →

#784158 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva