#791568#791568

#791568 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.4% C 0.160 H 336.4°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#791568
RGBrgb(121, 21, 104)
HSLhsl(310, 70%, 28%)
HSVhsv(310, 83%, 47%)
CMYKcmyk(0%, 82.6%, 14%, 52.5%)
CIE-LABlab(28.38, 49.75, -23.48)
CIE-LCHlch(28.38, 55.02, 334.73°)
OKLaboklab(40.39% 0.1464 -0.0641)
OKLCHoklch(40.39% 0.16 336.4)
XYZxyz(10.6522, 5.6018, 13.6143)
Luminance0.0560 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791568 #157926
analogous
#581579 #791568 #791536
triadic
#791568 #687915 #156879
tetradic
#791568 #795815 #157926 #153679
square
#791568 #795815 #157926 #153679
split-complementary
#791568 #367915 #157958
monochromatic
#1A0516 #450C3B #791568 #AD1E95 #DB2EBD

Accessibility & contrast

On white

9.90
#791568 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#791568 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791568
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791568#FFFFFF#000000##FFFFFF
##7915681.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17396A
Deuteranopia (green-blind)
#3C4866
Tritanopia (blue-blind)
#801D3E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #791568;
/* rgb */ color: rgb(121, 21, 104);
/* oklch */ color: oklch(40.4% 0.160 336.4);
Tailwind
colors: {
  custom: {
    50: '#a36093',
    500: '#791568',
    950: '#000000',
  },
}
SCSS
$custom: #791568;
$custom-light: #a36093;
$custom-dark: #000000;
JSON
{
  "hex": "#791568",
  "rgb": {
    "r": 121,
    "g": 21,
    "b": 104
  },
  "hsl": {
    "h": 310.2,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.4039,
    "c": 0.15976,
    "h": 336.4
  },
  "luminance": 0.05601
}

Semantic roles & 50–950 ramp

primary
#791568
secondary
#3BAF4F
accent
#ED593B
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #791568

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

Preview Lab → · Contrast checker → · Palette generator →

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