#7B294C#7B294C

#7B294C is a dark, moderate pink. Relative luminance 0.063; OKLCH L 41.4% C 0.119 H 357.2°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#7B294C
RGBrgb(123, 41, 76)
HSLhsl(334, 50%, 32%)
HSVhsv(334, 67%, 48%)
CMYKcmyk(0%, 66.7%, 38.2%, 51.8%)
CIE-LABlab(30.21, 38.96, -2.38)
CIE-LCHlch(30.21, 39.03, 356.51°)
OKLaboklab(41.39% 0.1191 -0.0057)
OKLCHoklch(41.39% 0.119 357.2)
XYZxyz(10.2664, 6.3198, 7.5153)
Luminance0.0632 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B294C #297B58
analogous
#7B2975 #7B294C #7B2F29
triadic
#7B294C #4C7B29 #294C7B
tetradic
#7B294C #757B29 #297B58 #2F297B
square
#7B294C #757B29 #297B58 #2F297B
split-complementary
#7B294C #297B2F #29757B
monochromatic
#1F0A13 #4D1A30 #7B294C #A93868 #C75787

Accessibility & contrast

On white

9.28
#7B294C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B294C
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B294C#FFFFFF#000000##FFFFFF
##7B294C1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b294c;
/* rgb */ color: rgb(123, 41, 76);
/* oklch */ color: oklch(41.4% 0.119 357.2);
Tailwind
colors: {
  custom: {
    50: '#a5687e',
    500: '#7b294c',
    950: '#000000',
  },
}
SCSS
$custom: #7b294c;
$custom-light: #a5687e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b294c",
  "rgb": {
    "r": 123,
    "g": 41,
    "b": 76
  },
  "hsl": {
    "h": 334.39,
    "s": 50,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41392,
    "c": 0.11923,
    "h": 357.2
  },
  "luminance": 0.06319
}

Semantic roles & 50–950 ramp

primary
#7B294C
secondary
#53AC86
accent
#DA9E4E
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7B294C

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

Preview Lab → · Contrast checker → · Palette generator →

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