#792268#792268

#792268 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.5% C 0.145 H 336.7°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#792268
RGBrgb(121, 34, 104)
HSLhsl(312, 56%, 30%)
HSVhsv(312, 72%, 47%)
CMYKcmyk(0%, 71.9%, 14%, 52.5%)
CIE-LABlab(29.93, 45.34, -21.06)
CIE-LCHlch(29.93, 49.99, 335.09°)
OKLaboklab(41.51% 0.1332 -0.0572)
OKLCHoklch(41.51% 0.145 336.7)
XYZxyz(10.9561, 6.2095, 13.7155)
Luminance0.0621 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792268 #227933
analogous
#5E2279 #792268 #79223C
triadic
#792268 #687922 #226879
tetradic
#792268 #795E22 #227933 #223C79
square
#792268 #795E22 #227933 #223C79
split-complementary
#792268 #3C7922 #22795E
monochromatic
#190716 #49153F #792268 #A92F91 #CC49B2

Accessibility & contrast

On white

9.37
#792268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#792268 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792268
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792268#FFFFFF#000000##FFFFFF
##7922681.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243E6A
Deuteranopia (green-blind)
#414B66
Tritanopia (blue-blind)
#802742
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #792268;
/* rgb */ color: rgb(121, 34, 104);
/* oklch */ color: oklch(41.5% 0.145 336.7);
Tailwind
colors: {
  custom: {
    50: '#a36593',
    500: '#792268',
    950: '#000000',
  },
}
SCSS
$custom: #792268;
$custom-light: #a36593;
$custom-dark: #000000;
JSON
{
  "hex": "#792268",
  "rgb": {
    "r": 121,
    "g": 34,
    "b": 104
  },
  "hsl": {
    "h": 311.724,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41508,
    "c": 0.14497,
    "h": 336.7
  },
  "luminance": 0.06208
}

Semantic roles & 50–950 ramp

primary
#792268
secondary
#4BAC5E
accent
#DF6648
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #792268

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

Preview Lab → · Contrast checker → · Palette generator →

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