#7B284D#7B284D

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

Color values

HEX#7B284D
RGBrgb(123, 40, 77)
HSLhsl(333, 51%, 32%)
HSVhsv(333, 67%, 48%)
CMYKcmyk(0%, 67.5%, 37.4%, 51.8%)
CIE-LABlab(30.07, 39.54, -3.23)
CIE-LCHlch(30.07, 39.67, 355.33°)
OKLaboklab(41.31% 0.1209 -0.008)
OKLCHoklch(41.31% 0.121 356.2)
XYZxyz(10.2673, 6.2655, 7.6884)
Luminance0.0626 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B284D #287B56
analogous
#7B2877 #7B284D #7B2D28
triadic
#7B284D #4D7B28 #284D7B
tetradic
#7B284D #777B28 #287B56 #2D287B
square
#7B284D #777B28 #287B56 #2D287B
split-complementary
#7B284D #287B2D #28777B
monochromatic
#1F0A13 #4D1930 #7B284D #A9376A #C85689

Accessibility & contrast

On white

9.32
#7B284D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B284D
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B284D#FFFFFF#000000##FFFFFF
##7B284D1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b284d;
/* rgb */ color: rgb(123, 40, 77);
/* oklch */ color: oklch(41.3% 0.121 356.2);
Tailwind
colors: {
  custom: {
    50: '#a5687e',
    500: '#7b284d',
    950: '#000000',
  },
}
SCSS
$custom: #7b284d;
$custom-light: #a5687e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b284d",
  "rgb": {
    "r": 123,
    "g": 40,
    "b": 77
  },
  "hsl": {
    "h": 333.253,
    "s": 50.92,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41305,
    "c": 0.12113,
    "h": 356.2
  },
  "luminance": 0.06264
}

Semantic roles & 50–950 ramp

primary
#7B284D
secondary
#52AD84
accent
#DA9C4D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7B284D

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

Preview Lab → · Contrast checker → · Palette generator →

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