#791858#791858

#791858 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.8% C 0.146 H 345.5°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#791858
RGBrgb(121, 24, 88)
HSLhsl(320, 67%, 28%)
HSVhsv(320, 80%, 47%)
CMYKcmyk(0%, 80.2%, 27.3%, 52.5%)
CIE-LABlab(27.91, 46.57, -13.78)
CIE-LCHlch(27.91, 48.56, 343.52°)
OKLaboklab(39.79% 0.1414 -0.0366)
OKLCHoklch(39.79% 0.146 345.5)
XYZxyz(9.9737, 5.4239, 9.7523)
Luminance0.0542 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791858 #187939
analogous
#691879 #791858 #791827
triadic
#791858 #587918 #185879
tetradic
#791858 #796918 #187939 #182779
square
#791858 #796918 #187939 #182779
split-complementary
#791858 #277918 #187969
monochromatic
#1A0513 #460E33 #791858 #AC227D #D735A0

Accessibility & contrast

On white

10.07
#791858 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#791858 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791858
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791858#FFFFFF#000000##FFFFFF
##7918581.0010.072.0810.07
#FFFFFF10.071.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25375A
Deuteranopia (green-blind)
#434856
Tritanopia (blue-blind)
#821636
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #791858;
/* rgb */ color: rgb(121, 24, 88);
/* oklch */ color: oklch(39.8% 0.146 345.5);
Tailwind
colors: {
  custom: {
    50: '#a36087',
    500: '#791858',
    950: '#000000',
  },
}
SCSS
$custom: #791858;
$custom-light: #a36087;
$custom-dark: #000000;
JSON
{
  "hex": "#791858",
  "rgb": {
    "r": 121,
    "g": 24,
    "b": 88
  },
  "hsl": {
    "h": 320.412,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39791,
    "c": 0.14602,
    "h": 345.5
  },
  "luminance": 0.05423
}

Semantic roles & 50–950 ramp

primary
#791858
secondary
#3FAE65
accent
#EA783E
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #791858

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

Preview Lab → · Contrast checker → · Palette generator →

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