#7B285B#7B285B

#7B285B is a dark, vivid pink. Relative luminance 0.065; OKLCH L 41.9% C 0.129 H 346.2°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#7B285B
RGBrgb(123, 40, 91)
HSLhsl(323, 51%, 32%)
HSVhsv(323, 67%, 48%)
CMYKcmyk(0%, 67.5%, 26%, 51.8%)
CIE-LABlab(30.60, 41.41, -11.59)
CIE-LCHlch(30.60, 43.01, 344.37°)
OKLaboklab(41.87% 0.1251 -0.0306)
OKLCHoklch(41.87% 0.129 346.2)
XYZxyz(10.8159, 6.4849, 10.5776)
Luminance0.0648 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B285B #287B48
analogous
#72287B #7B285B #7B2831
triadic
#7B285B #5B7B28 #285B7B
tetradic
#7B285B #7B7228 #287B48 #28317B
square
#7B285B #7B7228 #287B48 #28317B
split-complementary
#7B285B #317B28 #287B72
monochromatic
#1F0A17 #4D1939 #7B285B #A9377D #C8569C

Accessibility & contrast

On white

9.14
#7B285B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#7B285B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B285B
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B285B#FFFFFF#000000##FFFFFF
##7B285B1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313F5D
Deuteranopia (green-blind)
#494D59
Tritanopia (blue-blind)
#83263D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7b285b;
/* rgb */ color: rgb(123, 40, 91);
/* oklch */ color: oklch(41.9% 0.129 346.2);
Tailwind
colors: {
  custom: {
    50: '#a46889',
    500: '#7b285b',
    950: '#000000',
  },
}
SCSS
$custom: #7b285b;
$custom-light: #a46889;
$custom-dark: #000000;
JSON
{
  "hex": "#7b285b",
  "rgb": {
    "r": 123,
    "g": 40,
    "b": 91
  },
  "hsl": {
    "h": 323.133,
    "s": 50.92,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41872,
    "c": 0.12881,
    "h": 346.2
  },
  "luminance": 0.06484
}

Semantic roles & 50–950 ramp

primary
#7B285B
secondary
#52AD75
accent
#DA844D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7B285B

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

Preview Lab → · Contrast checker → · Palette generator →

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