#792261#792261

#792261 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.2% C 0.140 H 340.8°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#792261
RGBrgb(121, 34, 97)
HSLhsl(317, 56%, 30%)
HSVhsv(317, 72%, 47%)
CMYKcmyk(0%, 71.9%, 19.8%, 52.5%)
CIE-LABlab(29.60, 44.25, -17.06)
CIE-LCHlch(29.60, 47.43, 338.91°)
OKLaboklab(41.15% 0.1321 -0.0459)
OKLCHoklch(41.15% 0.14 340.8)
XYZxyz(10.6151, 6.0731, 11.9201)
Luminance0.0607 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792261 #22793A
analogous
#652279 #792261 #792235
triadic
#792261 #617922 #226179
tetradic
#792261 #796522 #22793A #223579
square
#792261 #796522 #22793A #223579
split-complementary
#792261 #357922 #227965
monochromatic
#190714 #49153B #792261 #A92F87 #CC49A8

Accessibility & contrast

On white

9.48
#792261 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#792261 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792261
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792261#FFFFFF#000000##FFFFFF
##7922611.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283D63
Deuteranopia (green-blind)
#434B5F
Tritanopia (blue-blind)
#80243E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #792261;
/* rgb */ color: rgb(121, 34, 97);
/* oklch */ color: oklch(41.2% 0.140 340.8);
Tailwind
colors: {
  custom: {
    50: '#a3658e',
    500: '#792261',
    950: '#000000',
  },
}
SCSS
$custom: #792261;
$custom-light: #a3658e;
$custom-dark: #000000;
JSON
{
  "hex": "#792261",
  "rgb": {
    "r": 121,
    "g": 34,
    "b": 97
  },
  "hsl": {
    "h": 316.552,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41152,
    "c": 0.13982,
    "h": 340.8
  },
  "luminance": 0.06072
}

Semantic roles & 50–950 ramp

primary
#792261
secondary
#4BAC66
accent
#DF7248
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D

Preview Lab

Preview with #792261

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

Preview Lab → · Contrast checker → · Palette generator →

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