#79256B#79256B

#79256B is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.0% C 0.143 H 335.2°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#79256B
RGBrgb(121, 37, 107)
HSLhsl(310, 53%, 31%)
HSVhsv(310, 69%, 47%)
CMYKcmyk(0%, 69.4%, 11.6%, 52.5%)
CIE-LABlab(30.52, 44.61, -22.07)
CIE-LCHlch(30.52, 49.77, 333.68°)
OKLaboklab(41.98% 0.13 -0.0602)
OKLCHoklch(41.98% 0.143 335.2)
XYZxyz(11.2007, 6.4506, 14.5622)
Luminance0.0645 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79256B #257933
analogous
#5D2579 #79256B #792541
triadic
#79256B #6B7925 #256B79
tetradic
#79256B #795D25 #257933 #254179
square
#79256B #795D25 #257933 #254179
split-complementary
#79256B #417925 #25795D
monochromatic
#1B0818 #4A1742 #79256B #A83394 #C94FB5

Accessibility & contrast

On white

9.17
#79256B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#79256B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79256B
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79256B#FFFFFF#000000##FFFFFF
##79256B1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25406D
Deuteranopia (green-blind)
#414C69
Tritanopia (blue-blind)
#7F2B44
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #79256b;
/* rgb */ color: rgb(121, 37, 107);
/* oklch */ color: oklch(42.0% 0.143 335.2);
Tailwind
colors: {
  custom: {
    50: '#a36795',
    500: '#79256b',
    950: '#000000',
  },
}
SCSS
$custom: #79256b;
$custom-light: #a36795;
$custom-dark: #000000;
JSON
{
  "hex": "#79256b",
  "rgb": {
    "r": 121,
    "g": 37,
    "b": 107
  },
  "hsl": {
    "h": 310,
    "s": 53.165,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41984,
    "c": 0.14322,
    "h": 335.2
  },
  "luminance": 0.0645
}

Semantic roles & 50–950 ramp

primary
#79256B
secondary
#4EAB5E
accent
#DD634B
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #79256B

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

Preview Lab → · Contrast checker → · Palette generator →

#79256B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva