#7B285A#7B285A

#7B285A is a dark, vivid pink. Relative luminance 0.065; OKLCH L 41.8% C 0.128 H 346.9°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#7B285A
RGBrgb(123, 40, 90)
HSLhsl(324, 51%, 32%)
HSVhsv(324, 67%, 48%)
CMYKcmyk(0%, 67.5%, 26.8%, 51.8%)
CIE-LABlab(30.56, 41.27, -11.00)
CIE-LCHlch(30.56, 42.71, 345.08°)
OKLaboklab(41.83% 0.1249 -0.029)
OKLCHoklch(41.83% 0.128 346.9)
XYZxyz(10.7731, 6.4678, 10.3519)
Luminance0.0647 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B285A #287B49
analogous
#73287B #7B285A #7B2831
triadic
#7B285A #5A7B28 #285A7B
tetradic
#7B285A #7B7328 #287B49 #28317B
square
#7B285A #7B7328 #287B49 #28317B
split-complementary
#7B285A #317B28 #287B73
monochromatic
#1F0A16 #4D1938 #7B285A #A9377C #C8569A

Accessibility & contrast

On white

9.16
#7B285A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7B285A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B285A
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B285A#FFFFFF#000000##FFFFFF
##7B285A1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323F5B
Deuteranopia (green-blind)
#4A4D58
Tritanopia (blue-blind)
#83263D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7b285a;
/* rgb */ color: rgb(123, 40, 90);
/* oklch */ color: oklch(41.8% 0.128 346.9);
Tailwind
colors: {
  custom: {
    50: '#a46888',
    500: '#7b285a',
    950: '#000000',
  },
}
SCSS
$custom: #7b285a;
$custom-light: #a46888;
$custom-dark: #000000;
JSON
{
  "hex": "#7b285a",
  "rgb": {
    "r": 123,
    "g": 40,
    "b": 90
  },
  "hsl": {
    "h": 323.855,
    "s": 50.92,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41828,
    "c": 0.12818,
    "h": 346.9
  },
  "luminance": 0.06467
}

Semantic roles & 50–950 ramp

primary
#7B285A
secondary
#52AD76
accent
#DA854D
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7B285A

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

Preview Lab → · Contrast checker → · Palette generator →

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