#791567#791567

#791567 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.3% C 0.159 H 336.9°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#791567
RGBrgb(121, 21, 103)
HSLhsl(311, 70%, 28%)
HSVhsv(311, 83%, 47%)
CMYKcmyk(0%, 82.6%, 14.9%, 52.5%)
CIE-LABlab(28.33, 49.60, -22.92)
CIE-LCHlch(28.33, 54.64, 335.20°)
OKLaboklab(40.34% 0.1463 -0.0625)
OKLCHoklch(40.34% 0.159 336.9)
XYZxyz(10.6017, 5.5816, 13.3483)
Luminance0.0558 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791567 #157927
analogous
#591579 #791567 #791535
triadic
#791567 #677915 #156779
tetradic
#791567 #795915 #157927 #153579
square
#791567 #795915 #157927 #153579
split-complementary
#791567 #357915 #157959
monochromatic
#1A0516 #450C3B #791567 #AD1E93 #DB2EBC

Accessibility & contrast

On white

9.92
#791567 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #791567
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791567#FFFFFF#000000##FFFFFF
##7915671.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183969
Deuteranopia (green-blind)
#3C4865
Tritanopia (blue-blind)
#801D3D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #791567;
/* rgb */ color: rgb(121, 21, 103);
/* oklch */ color: oklch(40.3% 0.159 336.9);
Tailwind
colors: {
  custom: {
    50: '#a36092',
    500: '#791567',
    950: '#000000',
  },
}
SCSS
$custom: #791567;
$custom-light: #a36092;
$custom-dark: #000000;
JSON
{
  "hex": "#791567",
  "rgb": {
    "r": 121,
    "g": 21,
    "b": 103
  },
  "hsl": {
    "h": 310.8,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40335,
    "c": 0.15905,
    "h": 336.9
  },
  "luminance": 0.05581
}

Semantic roles & 50–950 ramp

primary
#791567
secondary
#3BAF50
accent
#ED5B3B
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #791567

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

Preview Lab → · Contrast checker → · Palette generator →

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