#792157#792157

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

Color values

HEX#792157
RGBrgb(121, 33, 87)
HSLhsl(323, 57%, 30%)
HSVhsv(323, 73%, 47%)
CMYKcmyk(0%, 72.7%, 28.1%, 52.5%)
CIE-LABlab(29.01, 43.21, -11.44)
CIE-LCHlch(29.01, 44.69, 345.17°)
OKLaboklab(40.58% 0.1311 -0.0302)
OKLCHoklch(40.58% 0.135 347)
XYZxyz(10.1498, 5.8419, 9.6080)
Luminance0.0584 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792157 #217943
analogous
#6F2179 #792157 #79212B
triadic
#792157 #577921 #215779
tetradic
#792157 #796F21 #217943 #212B79
square
#792157 #796F21 #217943 #212B79
split-complementary
#792157 #2B7921 #21796F
monochromatic
#190712 #491434 #792157 #A92E7A #CD4799

Accessibility & contrast

On white

9.69
#792157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792157
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792157#FFFFFF#000000##FFFFFF
##7921571.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3B59
Deuteranopia (green-blind)
#464A55
Tritanopia (blue-blind)
#821E39
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #792157;
/* rgb */ color: rgb(121, 33, 87);
/* oklch */ color: oklch(40.6% 0.135 347.0);
Tailwind
colors: {
  custom: {
    50: '#a36486',
    500: '#792157',
    950: '#000000',
  },
}
SCSS
$custom: #792157;
$custom-light: #a36486;
$custom-dark: #000000;
JSON
{
  "hex": "#792157",
  "rgb": {
    "r": 121,
    "g": 33,
    "b": 87
  },
  "hsl": {
    "h": 323.182,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40579,
    "c": 0.13454,
    "h": 347
  },
  "luminance": 0.05841
}

Semantic roles & 50–950 ramp

primary
#792157
secondary
#4AAC70
accent
#E08347
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #792157

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

Preview Lab → · Contrast checker → · Palette generator →

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