#783158#783158

#783158 is a dark, moderate pink. Relative luminance 0.069; OKLCH L 42.4% C 0.110 H 348.7°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#783158
RGBrgb(120, 49, 88)
HSLhsl(327, 42%, 33%)
HSVhsv(327, 59%, 47%)
CMYKcmyk(0%, 59.2%, 26.7%, 52.9%)
CIE-LABlab(31.57, 35.69, -8.23)
CIE-LCHlch(31.57, 36.62, 347.01°)
OKLaboklab(42.44% 0.1077 -0.0215)
OKLCHoklch(42.44% 0.11 348.7)
XYZxyz(10.6059, 6.8953, 10.0030)
Luminance0.0689 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783158 #317851
analogous
#743178 #783158 #783134
triadic
#783158 #587831 #315878
tetradic
#783158 #787431 #317851 #313478
square
#783158 #787431 #317851 #313478
split-complementary
#783158 #347831 #317874
monochromatic
#210E18 #4D1F38 #783158 #A34378 #C06496

Accessibility & contrast

On white

8.83
#783158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#783158 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783158
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783158#FFFFFF#000000##FFFFFF
##7831581.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394359
Deuteranopia (green-blind)
#4C4F56
Tritanopia (blue-blind)
#802F40
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #783158;
/* rgb */ color: rgb(120, 49, 88);
/* oklch */ color: oklch(42.4% 0.110 348.7);
Tailwind
colors: {
  custom: {
    50: '#a16d87',
    500: '#783158',
    950: '#000000',
  },
}
SCSS
$custom: #783158;
$custom-light: #a16d87;
$custom-dark: #000000;
JSON
{
  "hex": "#783158",
  "rgb": {
    "r": 120,
    "g": 49,
    "b": 88
  },
  "hsl": {
    "h": 327.042,
    "s": 42.012,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42444,
    "c": 0.10983,
    "h": 348.7
  },
  "luminance": 0.06894
}

Semantic roles & 50–950 ramp

primary
#783158
secondary
#5EA77F
accent
#D28E56
background
#FAF6F8
surface
#F4ECEF
border
#CEC7CA
text
#0F070B
muted
#7F7A7C

Preview Lab

Preview with #783158

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

Preview Lab → · Contrast checker → · Palette generator →

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