#7A286B#7A286B

#7A286B is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.5% C 0.140 H 335.8°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#7A286B
RGBrgb(122, 40, 107)
HSLhsl(311, 51%, 32%)
HSVhsv(311, 67%, 48%)
CMYKcmyk(0%, 67.2%, 12.3%, 52.2%)
CIE-LABlab(31.16, 43.60, -21.07)
CIE-LCHlch(31.16, 48.43, 334.21°)
OKLaboklab(42.48% 0.1273 -0.0573)
OKLCHoklch(42.48% 0.14 335.8)
XYZxyz(11.4388, 6.7176, 14.6012)
Luminance0.0672 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A286B #287A37
analogous
#60287A #7A286B #7A2842
triadic
#7A286B #6B7A28 #286B7A
tetradic
#7A286B #7A6028 #287A37 #28427A
square
#7A286B #7A6028 #287A37 #28427A
split-complementary
#7A286B #427A28 #287A60
monochromatic
#1E0A1A #4C1943 #7A286B #A83793 #C755B2

Accessibility & contrast

On white

8.96
#7A286B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#7A286B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A286B
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A286B#FFFFFF#000000##FFFFFF
##7A286B1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29416D
Deuteranopia (green-blind)
#434E69
Tritanopia (blue-blind)
#802D45
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7a286b;
/* rgb */ color: rgb(122, 40, 107);
/* oklch */ color: oklch(42.5% 0.140 335.8);
Tailwind
colors: {
  custom: {
    50: '#a36895',
    500: '#7a286b',
    950: '#000000',
  },
}
SCSS
$custom: #7a286b;
$custom-light: #a36895;
$custom-dark: #000000;
JSON
{
  "hex": "#7a286b",
  "rgb": {
    "r": 122,
    "g": 40,
    "b": 107
  },
  "hsl": {
    "h": 310.976,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42478,
    "c": 0.13961,
    "h": 335.8
  },
  "luminance": 0.06717
}

Semantic roles & 50–950 ramp

primary
#7A286B
secondary
#52AC62
accent
#DA674E
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F070D
muted
#7F7A7E

Preview Lab

Preview with #7A286B

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

Preview Lab → · Contrast checker → · Palette generator →

#7A286B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva