#792252#792252

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

Color values

HEX#792252
RGBrgb(121, 34, 82)
HSLhsl(327, 56%, 30%)
HSVhsv(327, 72%, 47%)
CMYKcmyk(0%, 71.9%, 32.2%, 52.5%)
CIE-LABlab(28.95, 42.13, -8.24)
CIE-LCHlch(28.95, 42.93, 348.94°)
OKLaboklab(40.47% 0.1285 -0.0214)
OKLCHoklch(40.47% 0.13 350.5)
XYZxyz(9.9807, 5.8193, 8.5786)
Luminance0.0582 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792252 #227949
analogous
#752279 #792252 #792226
triadic
#792252 #527922 #225279
tetradic
#792252 #797522 #227949 #222679
square
#792252 #797522 #227949 #222679
split-complementary
#792252 #267922 #227975
monochromatic
#190711 #491532 #792252 #A92F72 #CC4991

Accessibility & contrast

On white

9.71
#792252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792252
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792252#FFFFFF#000000##FFFFFF
##7922521.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3A53
Deuteranopia (green-blind)
#484A50
Tritanopia (blue-blind)
#821D37
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #792252;
/* rgb */ color: rgb(121, 34, 82);
/* oklch */ color: oklch(40.5% 0.130 350.5);
Tailwind
colors: {
  custom: {
    50: '#a36582',
    500: '#792252',
    950: '#000000',
  },
}
SCSS
$custom: #792252;
$custom-light: #a36582;
$custom-dark: #000000;
JSON
{
  "hex": "#792252",
  "rgb": {
    "r": 121,
    "g": 34,
    "b": 82
  },
  "hsl": {
    "h": 326.897,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.4047,
    "c": 0.13028,
    "h": 350.5
  },
  "luminance": 0.05818
}

Semantic roles & 50–950 ramp

primary
#792252
secondary
#4BAC76
accent
#DF8C48
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #792252

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

Preview Lab → · Contrast checker → · Palette generator →

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