#792148#792148

#792148 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.0% C 0.127 H 357.4°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#792148
RGBrgb(121, 33, 72)
HSLhsl(333, 57%, 30%)
HSVhsv(333, 73%, 47%)
CMYKcmyk(0%, 72.7%, 40.5%, 52.5%)
CIE-LABlab(28.44, 41.31, -2.38)
CIE-LCHlch(28.44, 41.38, 356.70°)
OKLaboklab(39.97% 0.1266 -0.0057)
OKLCHoklch(39.97% 0.127 357.4)
XYZxyz(9.5993, 5.6217, 6.7092)
Luminance0.0562 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792148 #217952
analogous
#792174 #792148 #792621
triadic
#792148 #487921 #214879
tetradic
#792148 #747921 #217952 #262179
square
#792148 #747921 #217952 #262179
split-complementary
#792148 #217926 #217479
monochromatic
#19070F #49142B #792148 #A92E65 #CD4783

Accessibility & contrast

On white

9.89
#792148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#792148 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792148
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792148#FFFFFF#000000##FFFFFF
##7921481.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323949
Deuteranopia (green-blind)
#4A4946
Tritanopia (blue-blind)
#831731
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #792148;
/* rgb */ color: rgb(121, 33, 72);
/* oklch */ color: oklch(40.0% 0.127 357.4);
Tailwind
colors: {
  custom: {
    50: '#a4647a',
    500: '#792148',
    950: '#000000',
  },
}
SCSS
$custom: #792148;
$custom-light: #a4647a;
$custom-dark: #000000;
JSON
{
  "hex": "#792148",
  "rgb": {
    "r": 121,
    "g": 33,
    "b": 72
  },
  "hsl": {
    "h": 333.409,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39971,
    "c": 0.12674,
    "h": 357.4
  },
  "luminance": 0.05621
}

Semantic roles & 50–950 ramp

primary
#792148
secondary
#4AAC80
accent
#E09D47
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #792148

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

Preview Lab → · Contrast checker → · Palette generator →

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