#7B284E#7B284E

#7B284E is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.3% C 0.122 H 355.5°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#7B284E
RGBrgb(123, 40, 78)
HSLhsl(333, 51%, 32%)
HSVhsv(333, 67%, 48%)
CMYKcmyk(0%, 67.5%, 36.6%, 51.8%)
CIE-LABlab(30.11, 39.66, -3.84)
CIE-LCHlch(30.11, 39.85, 354.48°)
OKLaboklab(41.34% 0.1212 -0.0096)
OKLCHoklch(41.34% 0.122 355.5)
XYZxyz(10.3029, 6.2797, 7.8758)
Luminance0.0628 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B284E #287B55
analogous
#7B2878 #7B284E #7B2C28
triadic
#7B284E #4E7B28 #284E7B
tetradic
#7B284E #787B28 #287B55 #2C287B
square
#7B284E #787B28 #287B55 #2C287B
split-complementary
#7B284E #287B2C #28787B
monochromatic
#1F0A13 #4D1931 #7B284E #A9376B #C8568A

Accessibility & contrast

On white

9.31
#7B284E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7B284E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B284E
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B284E#FFFFFF#000000##FFFFFF
##7B284E1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363D4F
Deuteranopia (green-blind)
#4D4D4C
Tritanopia (blue-blind)
#852137
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7b284e;
/* rgb */ color: rgb(123, 40, 78);
/* oklch */ color: oklch(41.3% 0.122 355.5);
Tailwind
colors: {
  custom: {
    50: '#a5687f',
    500: '#7b284e',
    950: '#000000',
  },
}
SCSS
$custom: #7b284e;
$custom-light: #a5687f;
$custom-dark: #000000;
JSON
{
  "hex": "#7b284e",
  "rgb": {
    "r": 123,
    "g": 40,
    "b": 78
  },
  "hsl": {
    "h": 332.53,
    "s": 50.92,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41342,
    "c": 0.12159,
    "h": 355.5
  },
  "luminance": 0.06279
}

Semantic roles & 50–950 ramp

primary
#7B284E
secondary
#52AD83
accent
#DA9A4D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7B284E

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

Preview Lab → · Contrast checker → · Palette generator →

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