#792254#792254

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

Color values

HEX#792254
RGBrgb(121, 34, 84)
HSLhsl(326, 56%, 30%)
HSVhsv(326, 72%, 47%)
CMYKcmyk(0%, 71.9%, 30.6%, 52.5%)
CIE-LABlab(29.03, 42.40, -9.43)
CIE-LCHlch(29.03, 43.43, 347.46°)
OKLaboklab(40.55% 0.1291 -0.0247)
OKLCHoklch(40.55% 0.131 349.2)
XYZxyz(10.0579, 5.8502, 8.9853)
Luminance0.0585 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792254 #227947
analogous
#722279 #792254 #792229
triadic
#792254 #547922 #225479
tetradic
#792254 #797222 #227947 #222979
square
#792254 #797222 #227947 #222979
split-complementary
#792254 #297922 #227972
monochromatic
#190712 #491533 #792254 #A92F75 #CC4994

Accessibility & contrast

On white

9.68
#792254 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792254
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792254#FFFFFF#000000##FFFFFF
##7922541.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3B55
Deuteranopia (green-blind)
#474A52
Tritanopia (blue-blind)
#821E38
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #792254;
/* rgb */ color: rgb(121, 34, 84);
/* oklch */ color: oklch(40.6% 0.131 349.2);
Tailwind
colors: {
  custom: {
    50: '#a36584',
    500: '#792254',
    950: '#000000',
  },
}
SCSS
$custom: #792254;
$custom-light: #a36584;
$custom-dark: #000000;
JSON
{
  "hex": "#792254",
  "rgb": {
    "r": 121,
    "g": 34,
    "b": 84
  },
  "hsl": {
    "h": 325.517,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40554,
    "c": 0.13141,
    "h": 349.2
  },
  "luminance": 0.05849
}

Semantic roles & 50–950 ramp

primary
#792254
secondary
#4BAC74
accent
#DF8948
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #792254

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

Preview Lab → · Contrast checker → · Palette generator →

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