#791852#791852

#791852 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.5% C 0.142 H 349.2°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#791852
RGBrgb(121, 24, 82)
HSLhsl(324, 67%, 28%)
HSVhsv(324, 80%, 47%)
CMYKcmyk(0%, 80.2%, 32.2%, 52.5%)
CIE-LABlab(27.65, 45.79, -10.21)
CIE-LCHlch(27.65, 46.91, 347.44°)
OKLaboklab(39.52% 0.14 -0.0267)
OKLCHoklch(39.52% 0.143 349.2)
XYZxyz(9.7353, 5.3286, 8.4968)
Luminance0.0533 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791852 #18793F
analogous
#6F1879 #791852 #791821
triadic
#791852 #527918 #185279
tetradic
#791852 #796F18 #18793F #182179
square
#791852 #796F18 #18793F #182179
split-complementary
#791852 #217918 #18796F
monochromatic
#1A0511 #460E2F #791852 #AC2275 #D73596

Accessibility & contrast

On white

10.17
#791852 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#791852 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791852
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791852#FFFFFF#000000##FFFFFF
##7918521.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #791852;
/* rgb */ color: rgb(121, 24, 82);
/* oklch */ color: oklch(39.5% 0.142 349.2);
Tailwind
colors: {
  custom: {
    50: '#a46082',
    500: '#791852',
    950: '#000000',
  },
}
SCSS
$custom: #791852;
$custom-light: #a46082;
$custom-dark: #000000;
JSON
{
  "hex": "#791852",
  "rgb": {
    "r": 121,
    "g": 24,
    "b": 82
  },
  "hsl": {
    "h": 324.124,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39519,
    "c": 0.1425,
    "h": 349.2
  },
  "luminance": 0.05327
}

Semantic roles & 50–950 ramp

primary
#791852
secondary
#3FAE6C
accent
#EA833E
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #791852

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

Preview Lab → · Contrast checker → · Palette generator →

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