#791958#791958

#791958 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.9% C 0.145 H 345.6°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#791958
RGBrgb(121, 25, 88)
HSLhsl(321, 66%, 29%)
HSVhsv(321, 79%, 47%)
CMYKcmyk(0%, 79.3%, 27.3%, 52.5%)
CIE-LABlab(28.02, 46.25, -13.60)
CIE-LCHlch(28.02, 48.21, 343.61°)
OKLaboklab(39.87% 0.1404 -0.0361)
OKLCHoklch(39.87% 0.145 345.6)
XYZxyz(9.9947, 5.4659, 9.7593)
Luminance0.0546 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791958 #19793A
analogous
#6A1979 #791958 #791928
triadic
#791958 #587919 #195879
tetradic
#791958 #796A19 #19793A #192879
square
#791958 #796A19 #19793A #192879
split-complementary
#791958 #287919 #19796A
monochromatic
#190512 #460F33 #791958 #AC237D #D6379F

Accessibility & contrast

On white

10.03
#791958 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#791958 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791958
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791958#FFFFFF#000000##FFFFFF
##7919581.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #791958;
/* rgb */ color: rgb(121, 25, 88);
/* oklch */ color: oklch(39.9% 0.145 345.6);
Tailwind
colors: {
  custom: {
    50: '#a36187',
    500: '#791958',
    950: '#000000',
  },
}
SCSS
$custom: #791958;
$custom-light: #a36187;
$custom-dark: #000000;
JSON
{
  "hex": "#791958",
  "rgb": {
    "r": 121,
    "g": 25,
    "b": 88
  },
  "hsl": {
    "h": 320.625,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39873,
    "c": 0.14493,
    "h": 345.6
  },
  "luminance": 0.05465
}

Semantic roles & 50–950 ramp

primary
#791958
secondary
#40AE66
accent
#E9793F
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #791958

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

Preview Lab → · Contrast checker → · Palette generator →

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