#792258#792258

#792258 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.7% C 0.134 H 346.5°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#792258
RGBrgb(121, 34, 88)
HSLhsl(323, 56%, 30%)
HSVhsv(323, 72%, 47%)
CMYKcmyk(0%, 71.9%, 27.3%, 52.5%)
CIE-LABlab(29.20, 42.94, -11.81)
CIE-LCHlch(29.20, 44.54, 344.62°)
OKLaboklab(40.73% 0.1301 -0.0312)
OKLCHoklch(40.73% 0.134 346.5)
XYZxyz(10.2191, 5.9147, 9.8341)
Luminance0.0591 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792258 #227943
analogous
#6E2279 #792258 #79222C
triadic
#792258 #587922 #225879
tetradic
#792258 #796E22 #227943 #222C79
square
#792258 #796E22 #227943 #222C79
split-complementary
#792258 #2C7922 #22796E
monochromatic
#190713 #491535 #792258 #A92F7B #CC499A

Accessibility & contrast

On white

9.62
#792258 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#792258 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792258
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792258#FFFFFF#000000##FFFFFF
##7922581.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3B5A
Deuteranopia (green-blind)
#464A56
Tritanopia (blue-blind)
#82203A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #792258;
/* rgb */ color: rgb(121, 34, 88);
/* oklch */ color: oklch(40.7% 0.134 346.5);
Tailwind
colors: {
  custom: {
    50: '#a36587',
    500: '#792258',
    950: '#000000',
  },
}
SCSS
$custom: #792258;
$custom-light: #a36587;
$custom-dark: #000000;
JSON
{
  "hex": "#792258",
  "rgb": {
    "r": 121,
    "g": 34,
    "b": 88
  },
  "hsl": {
    "h": 322.759,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40729,
    "c": 0.13382,
    "h": 346.5
  },
  "luminance": 0.05914
}

Semantic roles & 50–950 ramp

primary
#792258
secondary
#4BAC70
accent
#DF8248
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#0F060B
muted
#7F7A7C

Preview Lab

Preview with #792258

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

Preview Lab → · Contrast checker → · Palette generator →

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