#7B284F#7B284F

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

Color values

HEX#7B284F
RGBrgb(123, 40, 79)
HSLhsl(332, 51%, 32%)
HSVhsv(332, 67%, 48%)
CMYKcmyk(0%, 67.5%, 35.8%, 51.8%)
CIE-LABlab(30.14, 39.79, -4.44)
CIE-LCHlch(30.14, 40.04, 353.63°)
OKLaboklab(41.38% 0.1215 -0.0112)
OKLCHoklch(41.38% 0.122 354.7)
XYZxyz(10.3390, 6.2942, 8.0660)
Luminance0.0629 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B284F #287B54
analogous
#7B2879 #7B284F #7B2B28
triadic
#7B284F #4F7B28 #284F7B
tetradic
#7B284F #797B28 #287B54 #2B287B
square
#7B284F #797B28 #287B54 #2B287B
split-complementary
#7B284F #287B2B #28797B
monochromatic
#1F0A14 #4D1931 #7B284F #A9376D #C8568B

Accessibility & contrast

On white

9.30
#7B284F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B284F
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B284F#FFFFFF#000000##FFFFFF
##7B284F1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363D50
Deuteranopia (green-blind)
#4C4D4D
Tritanopia (blue-blind)
#852238
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7b284f;
/* rgb */ color: rgb(123, 40, 79);
/* oklch */ color: oklch(41.4% 0.122 354.7);
Tailwind
colors: {
  custom: {
    50: '#a56880',
    500: '#7b284f',
    950: '#000000',
  },
}
SCSS
$custom: #7b284f;
$custom-light: #a56880;
$custom-dark: #000000;
JSON
{
  "hex": "#7b284f",
  "rgb": {
    "r": 123,
    "g": 40,
    "b": 79
  },
  "hsl": {
    "h": 331.807,
    "s": 50.92,
    "l": 31.961
  },
  "oklch": {
    "l": 0.4138,
    "c": 0.12206,
    "h": 354.7
  },
  "luminance": 0.06293
}

Semantic roles & 50–950 ramp

primary
#7B284F
secondary
#52AD82
accent
#DA984D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7B284F

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

Preview Lab → · Contrast checker → · Palette generator →

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