#781758#781758

#781758 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.5% C 0.146 H 345.0°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#781758
RGBrgb(120, 23, 88)
HSLhsl(320, 68%, 28%)
HSVhsv(320, 81%, 47%)
CMYKcmyk(0%, 80.8%, 26.7%, 52.9%)
CIE-LABlab(27.60, 46.62, -14.26)
CIE-LCHlch(27.60, 48.75, 342.99°)
OKLaboklab(39.53% 0.1414 -0.038)
OKLCHoklch(39.53% 0.146 345)
XYZxyz(9.8140, 5.3115, 9.7390)
Luminance0.0531 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781758 #177837
analogous
#671778 #781758 #781727
triadic
#781758 #587817 #175878
tetradic
#781758 #786717 #177837 #172778
square
#781758 #786717 #177837 #172778
split-complementary
#781758 #277817 #177867
monochromatic
#1A0513 #450D32 #781758 #AB217E #D832A1

Accessibility & contrast

On white

10.18
#781758 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#781758 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781758
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781758#FFFFFF#000000##FFFFFF
##7817581.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24375A
Deuteranopia (green-blind)
#424756
Tritanopia (blue-blind)
#811536
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #781758;
/* rgb */ color: rgb(120, 23, 88);
/* oklch */ color: oklch(39.5% 0.146 345.0);
Tailwind
colors: {
  custom: {
    50: '#a36087',
    500: '#781758',
    950: '#000000',
  },
}
SCSS
$custom: #781758;
$custom-light: #a36087;
$custom-dark: #000000;
JSON
{
  "hex": "#781758",
  "rgb": {
    "r": 120,
    "g": 23,
    "b": 88
  },
  "hsl": {
    "h": 319.794,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39534,
    "c": 0.14637,
    "h": 345
  },
  "luminance": 0.0531
}

Semantic roles & 50–950 ramp

primary
#781758
secondary
#3EAD62
accent
#EB763D
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #781758

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

Preview Lab → · Contrast checker → · Palette generator →

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