#792158#792158

#792158 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.6% C 0.135 H 346.4°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#792158
RGBrgb(121, 33, 88)
HSLhsl(323, 57%, 30%)
HSVhsv(323, 73%, 47%)
CMYKcmyk(0%, 72.7%, 27.3%, 52.5%)
CIE-LABlab(29.05, 43.35, -12.03)
CIE-LCHlch(29.05, 44.98, 344.49°)
OKLaboklab(40.62% 0.1314 -0.0318)
OKLCHoklch(40.62% 0.135 346.4)
XYZxyz(10.1909, 5.8583, 9.8247)
Luminance0.0586 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792158 #217942
analogous
#6E2179 #792158 #79212C
triadic
#792158 #587921 #215879
tetradic
#792158 #796E21 #217942 #212C79
square
#792158 #796E21 #217942 #212C79
split-complementary
#792158 #2C7921 #21796E
monochromatic
#190712 #491435 #792158 #A92E7B #CD479B

Accessibility & contrast

On white

9.67
#792158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#792158 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792158
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792158#FFFFFF#000000##FFFFFF
##7921581.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3B5A
Deuteranopia (green-blind)
#464A56
Tritanopia (blue-blind)
#821F39
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #792158;
/* rgb */ color: rgb(121, 33, 88);
/* oklch */ color: oklch(40.6% 0.135 346.4);
Tailwind
colors: {
  custom: {
    50: '#a36487',
    500: '#792158',
    950: '#000000',
  },
}
SCSS
$custom: #792158;
$custom-light: #a36487;
$custom-dark: #000000;
JSON
{
  "hex": "#792158",
  "rgb": {
    "r": 121,
    "g": 33,
    "b": 88
  },
  "hsl": {
    "h": 322.5,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40623,
    "c": 0.13516,
    "h": 346.4
  },
  "luminance": 0.05857
}

Semantic roles & 50–950 ramp

primary
#792158
secondary
#4AAC6F
accent
#E08147
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #792158

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

Preview Lab → · Contrast checker → · Palette generator →

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