#792256#792256

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

Color values

HEX#792256
RGBrgb(121, 34, 86)
HSLhsl(324, 56%, 30%)
HSVhsv(324, 72%, 47%)
CMYKcmyk(0%, 71.9%, 28.9%, 52.5%)
CIE-LABlab(29.11, 42.67, -10.62)
CIE-LCHlch(29.11, 43.97, 346.02°)
OKLaboklab(40.64% 0.1296 -0.028)
OKLCHoklch(40.64% 0.133 347.8)
XYZxyz(10.1374, 5.8820, 9.4038)
Luminance0.0588 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792256 #227945
analogous
#702279 #792256 #79222A
triadic
#792256 #567922 #225679
tetradic
#792256 #797022 #227945 #222A79
square
#792256 #797022 #227945 #222A79
split-complementary
#792256 #2A7922 #227970
monochromatic
#190712 #491534 #792256 #A92F78 #CC4997

Accessibility & contrast

On white

9.65
#792256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792256
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792256#FFFFFF#000000##FFFFFF
##7922561.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3B57
Deuteranopia (green-blind)
#474A54
Tritanopia (blue-blind)
#821F39
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #792256;
/* rgb */ color: rgb(121, 34, 86);
/* oklch */ color: oklch(40.6% 0.133 347.8);
Tailwind
colors: {
  custom: {
    50: '#a36585',
    500: '#792256',
    950: '#000000',
  },
}
SCSS
$custom: #792256;
$custom-light: #a36585;
$custom-dark: #000000;
JSON
{
  "hex": "#792256",
  "rgb": {
    "r": 121,
    "g": 34,
    "b": 86
  },
  "hsl": {
    "h": 324.138,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.4064,
    "c": 0.13259,
    "h": 347.8
  },
  "luminance": 0.05881
}

Semantic roles & 50–950 ramp

primary
#792256
secondary
#4BAC72
accent
#DF8548
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #792256

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

Preview Lab → · Contrast checker → · Palette generator →

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