#791961#791961

#791961 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.3% C 0.151 H 340.3°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#791961
RGBrgb(121, 25, 97)
HSLhsl(315, 66%, 29%)
HSVhsv(315, 79%, 47%)
CMYKcmyk(0%, 79.3%, 19.8%, 52.5%)
CIE-LABlab(28.44, 47.51, -18.85)
CIE-LCHlch(28.44, 51.11, 338.36°)
OKLaboklab(40.32% 0.142 -0.0509)
OKLCHoklch(40.32% 0.151 340.3)
XYZxyz(10.3908, 5.6243, 11.8453)
Luminance0.0562 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791961 #197931
analogous
#611979 #791961 #791931
triadic
#791961 #617919 #196179
tetradic
#791961 #796119 #197931 #193179
square
#791961 #796119 #197931 #193179
split-complementary
#791961 #317919 #197961
monochromatic
#190514 #460F38 #791961 #AC238A #D637AE

Accessibility & contrast

On white

9.88
#791961 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #791961
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791961#FFFFFF#000000##FFFFFF
##7919611.009.882.129.88
#FFFFFF9.881.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213963
Deuteranopia (green-blind)
#40495F
Tritanopia (blue-blind)
#811C3B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #791961;
/* rgb */ color: rgb(121, 25, 97);
/* oklch */ color: oklch(40.3% 0.151 340.3);
Tailwind
colors: {
  custom: {
    50: '#a3618e',
    500: '#791961',
    950: '#000000',
  },
}
SCSS
$custom: #791961;
$custom-light: #a3618e;
$custom-dark: #000000;
JSON
{
  "hex": "#791961",
  "rgb": {
    "r": 121,
    "g": 25,
    "b": 97
  },
  "hsl": {
    "h": 315,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40316,
    "c": 0.1508,
    "h": 340.3
  },
  "luminance": 0.05623
}

Semantic roles & 50–950 ramp

primary
#791961
secondary
#40AE5C
accent
#E96A3F
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #791961

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

Preview Lab → · Contrast checker → · Palette generator →

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