#792152#792152

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

Color values

HEX#792152
RGBrgb(121, 33, 82)
HSLhsl(327, 57%, 30%)
HSVhsv(327, 73%, 47%)
CMYKcmyk(0%, 72.7%, 32.2%, 52.5%)
CIE-LABlab(28.81, 42.54, -8.46)
CIE-LCHlch(28.81, 43.37, 348.76°)
OKLaboklab(40.36% 0.1298 -0.022)
OKLCHoklch(40.36% 0.132 350.4)
XYZxyz(9.9525, 5.7630, 8.5692)
Luminance0.0576 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792152 #217948
analogous
#742179 #792152 #792126
triadic
#792152 #527921 #215279
tetradic
#792152 #797421 #217948 #212679
square
#792152 #797421 #217948 #212679
split-complementary
#792152 #267921 #217974
monochromatic
#190711 #491431 #792152 #A92E73 #CD4792

Accessibility & contrast

On white

9.76
#792152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#792152 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792152
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792152#FFFFFF#000000##FFFFFF
##7921521.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #792152;
/* rgb */ color: rgb(121, 33, 82);
/* oklch */ color: oklch(40.4% 0.132 350.4);
Tailwind
colors: {
  custom: {
    50: '#a36482',
    500: '#792152',
    950: '#000000',
  },
}
SCSS
$custom: #792152;
$custom-light: #a36482;
$custom-dark: #000000;
JSON
{
  "hex": "#792152",
  "rgb": {
    "r": 121,
    "g": 33,
    "b": 82
  },
  "hsl": {
    "h": 326.591,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40363,
    "c": 0.13162,
    "h": 350.4
  },
  "luminance": 0.05762
}

Semantic roles & 50–950 ramp

primary
#792152
secondary
#4AAC75
accent
#E08B47
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #792152

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

Preview Lab → · Contrast checker → · Palette generator →

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