#791767#791767

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

Color values

HEX#791767
RGBrgb(121, 23, 103)
HSLhsl(311, 68%, 28%)
HSVhsv(311, 81%, 47%)
CMYKcmyk(0%, 81%, 14.9%, 52.5%)
CIE-LABlab(28.53, 49.02, -22.61)
CIE-LCHlch(28.53, 53.98, 335.24°)
OKLaboklab(40.48% 0.1445 -0.0616)
OKLCHoklch(40.48% 0.157 336.9)
XYZxyz(10.6399, 5.6580, 13.3611)
Luminance0.0566 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791767 #177929
analogous
#5A1779 #791767 #791736
triadic
#791767 #677917 #176779
tetradic
#791767 #795A17 #177929 #173679
square
#791767 #795A17 #177929 #173679
split-complementary
#791767 #367917 #17795A
monochromatic
#1A0516 #460D3B #791767 #AC2193 #D832BA

Accessibility & contrast

On white

9.85
#791767 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#791767 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791767
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791767#FFFFFF#000000##FFFFFF
##7917671.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3A69
Deuteranopia (green-blind)
#3D4965
Tritanopia (blue-blind)
#801E3E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #791767;
/* rgb */ color: rgb(121, 23, 103);
/* oklch */ color: oklch(40.5% 0.157 336.9);
Tailwind
colors: {
  custom: {
    50: '#a36192',
    500: '#791767',
    950: '#000000',
  },
}
SCSS
$custom: #791767;
$custom-light: #a36192;
$custom-dark: #000000;
JSON
{
  "hex": "#791767",
  "rgb": {
    "r": 121,
    "g": 23,
    "b": 103
  },
  "hsl": {
    "h": 311.02,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40479,
    "c": 0.1571,
    "h": 336.9
  },
  "luminance": 0.05657
}

Semantic roles & 50–950 ramp

primary
#791767
secondary
#3EAE52
accent
#EB5D3D
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #791767

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

Preview Lab → · Contrast checker → · Palette generator →

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