#791162#791162

#791162 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.8% C 0.159 H 339.4°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#791162
RGBrgb(121, 17, 98)
HSLhsl(313, 75%, 27%)
HSVhsv(313, 86%, 47%)
CMYKcmyk(0%, 86%, 19%, 52.5%)
CIE-LABlab(27.71, 49.92, -20.65)
CIE-LCHlch(27.71, 54.02, 337.53°)
OKLaboklab(39.8% 0.149 -0.0559)
OKLCHoklch(39.8% 0.159 339.4)
XYZxyz(10.2905, 5.3487, 12.0434)
Luminance0.0535 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791162 #117928
analogous
#5C1179 #791162 #79112E
triadic
#791162 #627911 #116279
tetradic
#791162 #795C11 #117928 #112E79
square
#791162 #795C11 #117928 #112E79
split-complementary
#791162 #2E7911 #11795C
monochromatic
#1B0416 #430937 #791162 #AF198D #E024B7

Accessibility & contrast

On white

10.15
#791162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#791162 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791162
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791162#FFFFFF#000000##FFFFFF
##7911621.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193764
Deuteranopia (green-blind)
#3D4760
Tritanopia (blue-blind)
#81163A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #791162;
/* rgb */ color: rgb(121, 17, 98);
/* oklch */ color: oklch(39.8% 0.159 339.4);
Tailwind
colors: {
  custom: {
    50: '#a35f8f',
    500: '#791162',
    950: '#000000',
  },
}
SCSS
$custom: #791162;
$custom-light: #a35f8f;
$custom-dark: #000000;
JSON
{
  "hex": "#791162",
  "rgb": {
    "r": 121,
    "g": 17,
    "b": 98
  },
  "hsl": {
    "h": 313.269,
    "s": 75.362,
    "l": 27.059
  },
  "oklch": {
    "l": 0.39801,
    "c": 0.15913,
    "h": 339.4
  },
  "luminance": 0.05348
}

Semantic roles & 50–950 ramp

primary
#791162
secondary
#36B051
accent
#F25F36
background
#FAF5F8
surface
#F4EAF0
border
#CEC6CB
text
#10050C
muted
#7F797D

Preview Lab

Preview with #791162

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

Preview Lab → · Contrast checker → · Palette generator →

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