#781762#781762

#781762 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.0% C 0.153 H 339.2°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#781762
RGBrgb(120, 23, 98)
HSLhsl(314, 68%, 28%)
HSVhsv(314, 81%, 47%)
CMYKcmyk(0%, 80.8%, 18.3%, 52.9%)
CIE-LABlab(28.08, 48.03, -20.07)
CIE-LCHlch(28.08, 52.06, 337.32°)
OKLaboklab(40.04% 0.143 -0.0544)
OKLCHoklch(40.04% 0.153 339.2)
XYZxyz(10.2570, 5.4887, 12.0722)
Luminance0.0549 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781762 #17782D
analogous
#5D1778 #781762 #781732
triadic
#781762 #627817 #176278
tetradic
#781762 #785D17 #17782D #173278
square
#781762 #785D17 #17782D #173278
split-complementary
#781762 #327817 #17785D
monochromatic
#1A0515 #450D38 #781762 #AB218C #D832B2

Accessibility & contrast

On white

10.01
#781762 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#781762 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781762
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781762#FFFFFF#000000##FFFFFF
##7817621.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3964
Deuteranopia (green-blind)
#3E4860
Tritanopia (blue-blind)
#7F1B3B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #781762;
/* rgb */ color: rgb(120, 23, 98);
/* oklch */ color: oklch(40.0% 0.153 339.2);
Tailwind
colors: {
  custom: {
    50: '#a2608f',
    500: '#781762',
    950: '#000000',
  },
}
SCSS
$custom: #781762;
$custom-light: #a2608f;
$custom-dark: #000000;
JSON
{
  "hex": "#781762",
  "rgb": {
    "r": 120,
    "g": 23,
    "b": 98
  },
  "hsl": {
    "h": 313.608,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40037,
    "c": 0.15297,
    "h": 339.2
  },
  "luminance": 0.05488
}

Semantic roles & 50–950 ramp

primary
#781762
secondary
#3EAD57
accent
#EB643D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F050C
muted
#7F7A7D

Preview Lab

Preview with #781762

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

Preview Lab → · Contrast checker → · Palette generator →

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