#791758#791758

#791758 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.7% C 0.147 H 345.4°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#791758
RGBrgb(121, 23, 88)
HSLhsl(320, 68%, 28%)
HSVhsv(320, 81%, 47%)
CMYKcmyk(0%, 81%, 27.3%, 52.5%)
CIE-LABlab(27.80, 46.88, -13.95)
CIE-LCHlch(27.80, 48.91, 343.43°)
OKLaboklab(39.71% 0.1423 -0.0371)
OKLCHoklch(39.71% 0.147 345.4)
XYZxyz(9.9535, 5.3834, 9.7456)
Luminance0.0538 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791758 #177938
analogous
#691779 #791758 #791727
triadic
#791758 #587917 #175879
tetradic
#791758 #796917 #177938 #172779
square
#791758 #796917 #177938 #172779
split-complementary
#791758 #277917 #177969
monochromatic
#1A0513 #460D33 #791758 #AC217D #D832A0

Accessibility & contrast

On white

10.11
#791758 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #791758
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791758#FFFFFF#000000##FFFFFF
##7917581.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #791758;
/* rgb */ color: rgb(121, 23, 88);
/* oklch */ color: oklch(39.7% 0.147 345.4);
Tailwind
colors: {
  custom: {
    50: '#a36087',
    500: '#791758',
    950: '#000000',
  },
}
SCSS
$custom: #791758;
$custom-light: #a36087;
$custom-dark: #000000;
JSON
{
  "hex": "#791758",
  "rgb": {
    "r": 121,
    "g": 23,
    "b": 88
  },
  "hsl": {
    "h": 320.204,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39712,
    "c": 0.14707,
    "h": 345.4
  },
  "luminance": 0.05382
}

Semantic roles & 50–950 ramp

primary
#791758
secondary
#3EAE64
accent
#EB773D
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #791758

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

Preview Lab → · Contrast checker → · Palette generator →

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