#792052#792052

#792052 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.3% C 0.133 H 350.2°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#792052
RGBrgb(121, 32, 82)
HSLhsl(326, 58%, 30%)
HSVhsv(326, 74%, 47%)
CMYKcmyk(0%, 73.6%, 32.2%, 52.5%)
CIE-LABlab(28.66, 42.93, -8.67)
CIE-LCHlch(28.66, 43.80, 348.58°)
OKLaboklab(40.26% 0.131 -0.0226)
OKLCHoklch(40.26% 0.133 350.2)
XYZxyz(9.9252, 5.7083, 8.5601)
Luminance0.0571 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792052 #207947
analogous
#732079 #792052 #792026
triadic
#792052 #527920 #205279
tetradic
#792052 #797320 #207947 #202679
square
#792052 #797320 #207947 #202679
split-complementary
#792052 #267920 #207973
monochromatic
#180610 #491331 #792052 #A92D73 #CE4592

Accessibility & contrast

On white

9.81
#792052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#792052 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792052
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792052#FFFFFF#000000##FFFFFF
##7920521.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3A53
Deuteranopia (green-blind)
#474950
Tritanopia (blue-blind)
#821B36
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #792052;
/* rgb */ color: rgb(121, 32, 82);
/* oklch */ color: oklch(40.3% 0.133 350.2);
Tailwind
colors: {
  custom: {
    50: '#a36482',
    500: '#792052',
    950: '#000000',
  },
}
SCSS
$custom: #792052;
$custom-light: #a36482;
$custom-dark: #000000;
JSON
{
  "hex": "#792052",
  "rgb": {
    "r": 121,
    "g": 32,
    "b": 82
  },
  "hsl": {
    "h": 326.292,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.40259,
    "c": 0.13294,
    "h": 350.2
  },
  "luminance": 0.05707
}

Semantic roles & 50–950 ramp

primary
#792052
secondary
#49AC74
accent
#E18A46
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #792052

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

Preview Lab → · Contrast checker → · Palette generator →

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