#7B284A#7B284A

#7B284A is a dark, moderate pink. Relative luminance 0.062; OKLCH L 41.2% C 0.120 H 358.5°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#7B284A
RGBrgb(123, 40, 74)
HSLhsl(335, 51%, 32%)
HSVhsv(335, 67%, 48%)
CMYKcmyk(0%, 67.5%, 39.8%, 51.8%)
CIE-LABlab(29.97, 39.17, -1.40)
CIE-LCHlch(29.97, 39.20, 357.95°)
OKLaboklab(41.2% 0.1198 -0.0032)
OKLCHoklch(41.2% 0.12 358.5)
XYZxyz(10.1638, 6.2241, 7.1434)
Luminance0.0622 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B284A #287B59
analogous
#7B2874 #7B284A #7B3028
triadic
#7B284A #4A7B28 #284A7B
tetradic
#7B284A #747B28 #287B59 #30287B
square
#7B284A #747B28 #287B59 #30287B
split-complementary
#7B284A #287B30 #28747B
monochromatic
#1F0A12 #4D192E #7B284A #A93766 #C85684

Accessibility & contrast

On white

9.36
#7B284A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7B284A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B284A
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B284A#FFFFFF#000000##FFFFFF
##7B284A1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373D4B
Deuteranopia (green-blind)
#4E4C48
Tritanopia (blue-blind)
#852036
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7b284a;
/* rgb */ color: rgb(123, 40, 74);
/* oklch */ color: oklch(41.2% 0.120 358.5);
Tailwind
colors: {
  custom: {
    50: '#a5687c',
    500: '#7b284a',
    950: '#000000',
  },
}
SCSS
$custom: #7b284a;
$custom-light: #a5687c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b284a",
  "rgb": {
    "r": 123,
    "g": 40,
    "b": 74
  },
  "hsl": {
    "h": 335.422,
    "s": 50.92,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41196,
    "c": 0.11985,
    "h": 358.5
  },
  "luminance": 0.06223
}

Semantic roles & 50–950 ramp

primary
#7B284A
secondary
#52AD88
accent
#DAA14D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7B284A

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

Preview Lab → · Contrast checker → · Palette generator →

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