#791768#791768

#791768 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.5% C 0.158 H 336.4°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#791768
RGBrgb(121, 23, 104)
HSLhsl(310, 68%, 28%)
HSVhsv(310, 81%, 47%)
CMYKcmyk(0%, 81%, 14%, 52.5%)
CIE-LABlab(28.59, 49.17, -23.17)
CIE-LCHlch(28.59, 54.36, 334.77°)
OKLaboklab(40.53% 0.1446 -0.0632)
OKLCHoklch(40.53% 0.158 336.4)
XYZxyz(10.6904, 5.6782, 13.6270)
Luminance0.0568 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791768 #177928
analogous
#591779 #791768 #791737
triadic
#791768 #687917 #176879
tetradic
#791768 #795917 #177928 #173779
square
#791768 #795917 #177928 #173779
split-complementary
#791768 #377917 #177959
monochromatic
#1A0516 #460D3C #791768 #AC2194 #D832BB

Accessibility & contrast

On white

9.83
#791768 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#791768 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791768
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791768#FFFFFF#000000##FFFFFF
##7917681.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193A6A
Deuteranopia (green-blind)
#3D4966
Tritanopia (blue-blind)
#801F3E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #791768;
/* rgb */ color: rgb(121, 23, 104);
/* oklch */ color: oklch(40.5% 0.158 336.4);
Tailwind
colors: {
  custom: {
    50: '#a36193',
    500: '#791768',
    950: '#000000',
  },
}
SCSS
$custom: #791768;
$custom-light: #a36193;
$custom-dark: #000000;
JSON
{
  "hex": "#791768",
  "rgb": {
    "r": 121,
    "g": 23,
    "b": 104
  },
  "hsl": {
    "h": 310.408,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40534,
    "c": 0.15782,
    "h": 336.4
  },
  "luminance": 0.05677
}

Semantic roles & 50–950 ramp

primary
#791768
secondary
#3EAE51
accent
#EB5B3D
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #791768

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

Preview Lab → · Contrast checker → · Palette generator →

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