#7B285E#7B285E

#7B285E is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.0% C 0.131 H 344.2°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#7B285E
RGBrgb(123, 40, 94)
HSLhsl(321, 51%, 32%)
HSVhsv(321, 67%, 48%)
CMYKcmyk(0%, 67.5%, 23.6%, 51.8%)
CIE-LABlab(30.73, 41.85, -13.34)
CIE-LCHlch(30.73, 43.93, 342.32°)
OKLaboklab(42.01% 0.1259 -0.0355)
OKLCHoklch(42.01% 0.131 344.2)
XYZxyz(10.9479, 6.5378, 11.2728)
Luminance0.0654 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B285E #287B45
analogous
#6F287B #7B285E #7B2835
triadic
#7B285E #5E7B28 #285E7B
tetradic
#7B285E #7B6F28 #287B45 #28357B
square
#7B285E #7B6F28 #287B45 #28357B
split-complementary
#7B285E #357B28 #287B6F
monochromatic
#1F0A17 #4D193B #7B285E #A93781 #C856A0

Accessibility & contrast

On white

9.10
#7B285E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#7B285E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B285E
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B285E#FFFFFF#000000##FFFFFF
##7B285E1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303F60
Deuteranopia (green-blind)
#484D5C
Tritanopia (blue-blind)
#83273F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7b285e;
/* rgb */ color: rgb(123, 40, 94);
/* oklch */ color: oklch(42.0% 0.131 344.2);
Tailwind
colors: {
  custom: {
    50: '#a4688b',
    500: '#7b285e',
    950: '#000000',
  },
}
SCSS
$custom: #7b285e;
$custom-light: #a4688b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b285e",
  "rgb": {
    "r": 123,
    "g": 40,
    "b": 94
  },
  "hsl": {
    "h": 320.964,
    "s": 50.92,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42006,
    "c": 0.13077,
    "h": 344.2
  },
  "luminance": 0.06537
}

Semantic roles & 50–950 ramp

primary
#7B285E
secondary
#52AD72
accent
#DA7F4D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7B285E

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

Preview Lab → · Contrast checker → · Palette generator →

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