#792251#792251

#792251 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.4% C 0.130 H 351.2°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#792251
RGBrgb(121, 34, 81)
HSLhsl(328, 56%, 30%)
HSVhsv(328, 72%, 47%)
CMYKcmyk(0%, 71.9%, 33.1%, 52.5%)
CIE-LABlab(28.91, 42.00, -7.64)
CIE-LCHlch(28.91, 42.69, 349.70°)
OKLaboklab(40.43% 0.1282 -0.0198)
OKLCHoklch(40.43% 0.13 351.2)
XYZxyz(9.9429, 5.8042, 8.3797)
Luminance0.0580 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792251 #22794A
analogous
#752279 #792251 #792226
triadic
#792251 #517922 #225179
tetradic
#792251 #797522 #22794A #222679
square
#792251 #797522 #22794A #222679
split-complementary
#792251 #267922 #227975
monochromatic
#190711 #491531 #792251 #A92F71 #CC4990

Accessibility & contrast

On white

9.72
#792251 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#792251 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792251
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792251#FFFFFF#000000##FFFFFF
##7922511.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303A52
Deuteranopia (green-blind)
#484A4F
Tritanopia (blue-blind)
#821D36
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #792251;
/* rgb */ color: rgb(121, 34, 81);
/* oklch */ color: oklch(40.4% 0.130 351.2);
Tailwind
colors: {
  custom: {
    50: '#a36581',
    500: '#792251',
    950: '#000000',
  },
}
SCSS
$custom: #792251;
$custom-light: #a36581;
$custom-dark: #000000;
JSON
{
  "hex": "#792251",
  "rgb": {
    "r": 121,
    "g": 34,
    "b": 81
  },
  "hsl": {
    "h": 327.586,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40428,
    "c": 0.12974,
    "h": 351.2
  },
  "luminance": 0.05803
}

Semantic roles & 50–950 ramp

primary
#792251
secondary
#4BAC77
accent
#DF8E48
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #792251

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

Preview Lab → · Contrast checker → · Palette generator →

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