#791861#791861

#791861 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.2% C 0.152 H 340.2°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#791861
RGBrgb(121, 24, 97)
HSLhsl(315, 67%, 28%)
HSVhsv(315, 80%, 47%)
CMYKcmyk(0%, 80.2%, 19.8%, 52.5%)
CIE-LABlab(28.33, 47.83, -19.02)
CIE-LCHlch(28.33, 51.47, 338.31°)
OKLaboklab(40.24% 0.1429 -0.0514)
OKLCHoklch(40.24% 0.152 340.2)
XYZxyz(10.3698, 5.5823, 11.8383)
Luminance0.0558 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791861 #187930
analogous
#601879 #791861 #791830
triadic
#791861 #617918 #186179
tetradic
#791861 #796018 #187930 #183079
square
#791861 #796018 #187930 #183079
split-complementary
#791861 #307918 #187960
monochromatic
#1A0514 #460E38 #791861 #AC228A #D735AF

Accessibility & contrast

On white

9.92
#791861 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #791861
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791861#FFFFFF#000000##FFFFFF
##7918611.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203963
Deuteranopia (green-blind)
#40485F
Tritanopia (blue-blind)
#811B3B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #791861;
/* rgb */ color: rgb(121, 24, 97);
/* oklch */ color: oklch(40.2% 0.152 340.2);
Tailwind
colors: {
  custom: {
    50: '#a3618e',
    500: '#791861',
    950: '#000000',
  },
}
SCSS
$custom: #791861;
$custom-light: #a3618e;
$custom-dark: #000000;
JSON
{
  "hex": "#791861",
  "rgb": {
    "r": 121,
    "g": 24,
    "b": 97
  },
  "hsl": {
    "h": 314.845,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40236,
    "c": 0.15187,
    "h": 340.2
  },
  "luminance": 0.05581
}

Semantic roles & 50–950 ramp

primary
#791861
secondary
#3FAE5A
accent
#EA693E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #791861

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

Preview Lab → · Contrast checker → · Palette generator →

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