#7B284C#7B284C

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

Color values

HEX#7B284C
RGBrgb(123, 40, 76)
HSLhsl(334, 51%, 32%)
HSVhsv(334, 67%, 48%)
CMYKcmyk(0%, 67.5%, 38.2%, 51.8%)
CIE-LABlab(30.04, 39.42, -2.62)
CIE-LCHlch(30.04, 39.50, 356.19°)
OKLaboklab(41.27% 0.1205 -0.0064)
OKLCHoklch(41.27% 0.121 357)
XYZxyz(10.2323, 6.2515, 7.5039)
Luminance0.0625 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B284C #287B57
analogous
#7B2876 #7B284C #7B2E28
triadic
#7B284C #4C7B28 #284C7B
tetradic
#7B284C #767B28 #287B57 #2E287B
square
#7B284C #767B28 #287B57 #2E287B
split-complementary
#7B284C #287B2E #28767B
monochromatic
#1F0A13 #4D192F #7B284C #A93769 #C85687

Accessibility & contrast

On white

9.33
#7B284C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7B284C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B284C
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B284C#FFFFFF#000000##FFFFFF
##7B284C1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373D4D
Deuteranopia (green-blind)
#4D4C4A
Tritanopia (blue-blind)
#852137
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7b284c;
/* rgb */ color: rgb(123, 40, 76);
/* oklch */ color: oklch(41.3% 0.121 357.0);
Tailwind
colors: {
  custom: {
    50: '#a5687e',
    500: '#7b284c',
    950: '#000000',
  },
}
SCSS
$custom: #7b284c;
$custom-light: #a5687e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b284c",
  "rgb": {
    "r": 123,
    "g": 40,
    "b": 76
  },
  "hsl": {
    "h": 333.976,
    "s": 50.92,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41268,
    "c": 0.12069,
    "h": 357
  },
  "luminance": 0.0625
}

Semantic roles & 50–950 ramp

primary
#7B284C
secondary
#52AD85
accent
#DA9D4D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7B284C

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

Preview Lab → · Contrast checker → · Palette generator →

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