#791752#791752

#791752 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.4% C 0.144 H 349.1°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#791752
RGBrgb(121, 23, 82)
HSLhsl(324, 68%, 28%)
HSVhsv(324, 81%, 47%)
CMYKcmyk(0%, 81%, 32.2%, 52.5%)
CIE-LABlab(27.54, 46.11, -10.37)
CIE-LCHlch(27.54, 47.26, 347.32°)
OKLaboklab(39.44% 0.141 -0.0272)
OKLCHoklch(39.44% 0.144 349.1)
XYZxyz(9.7151, 5.2881, 8.4901)
Luminance0.0529 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791752 #17793E
analogous
#6F1779 #791752 #791721
triadic
#791752 #527917 #175279
tetradic
#791752 #796F17 #17793E #172179
square
#791752 #796F17 #17793E #172179
split-complementary
#791752 #217917 #17796F
monochromatic
#1A0511 #460D2F #791752 #AC2175 #D83296

Accessibility & contrast

On white

10.21
#791752 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#791752 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791752
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791752#FFFFFF#000000##FFFFFF
##7917521.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283654
Deuteranopia (green-blind)
#444750
Tritanopia (blue-blind)
#821132
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #791752;
/* rgb */ color: rgb(121, 23, 82);
/* oklch */ color: oklch(39.4% 0.144 349.1);
Tailwind
colors: {
  custom: {
    50: '#a46082',
    500: '#791752',
    950: '#000000',
  },
}
SCSS
$custom: #791752;
$custom-light: #a46082;
$custom-dark: #000000;
JSON
{
  "hex": "#791752",
  "rgb": {
    "r": 121,
    "g": 23,
    "b": 82
  },
  "hsl": {
    "h": 323.878,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39438,
    "c": 0.14356,
    "h": 349.1
  },
  "luminance": 0.05287
}

Semantic roles & 50–950 ramp

primary
#791752
secondary
#3EAE6A
accent
#EB823D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #791752

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

Preview Lab → · Contrast checker → · Palette generator →

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