#7B295C#7B295C

#7B295C is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.0% C 0.128 H 345.7°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#7B295C
RGBrgb(123, 41, 92)
HSLhsl(323, 50%, 32%)
HSVhsv(323, 67%, 48%)
CMYKcmyk(0%, 66.7%, 25.2%, 51.8%)
CIE-LABlab(30.81, 41.11, -11.93)
CIE-LCHlch(30.81, 42.81, 343.82°)
OKLaboklab(42.04% 0.124 -0.0316)
OKLCHoklch(42.04% 0.128 345.7)
XYZxyz(10.8935, 6.5706, 10.8177)
Luminance0.0657 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B295C #297B48
analogous
#71297B #7B295C #7B2933
triadic
#7B295C #5C7B29 #295C7B
tetradic
#7B295C #7B7129 #297B48 #29337B
square
#7B295C #7B7129 #297B48 #29337B
split-complementary
#7B295C #337B29 #297B71
monochromatic
#1F0A17 #4D1A3A #7B295C #A9387E #C7579D

Accessibility & contrast

On white

9.08
#7B295C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#7B295C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B295C
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B295C#FFFFFF#000000##FFFFFF
##7B295C1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32405E
Deuteranopia (green-blind)
#494E5A
Tritanopia (blue-blind)
#83283E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7b295c;
/* rgb */ color: rgb(123, 41, 92);
/* oklch */ color: oklch(42.0% 0.128 345.7);
Tailwind
colors: {
  custom: {
    50: '#a4698a',
    500: '#7b295c',
    950: '#000000',
  },
}
SCSS
$custom: #7b295c;
$custom-light: #a4698a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b295c",
  "rgb": {
    "r": 123,
    "g": 41,
    "b": 92
  },
  "hsl": {
    "h": 322.683,
    "s": 50,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42035,
    "c": 0.12795,
    "h": 345.7
  },
  "luminance": 0.0657
}

Semantic roles & 50–950 ramp

primary
#7B295C
secondary
#53AC75
accent
#DA834E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070B
muted
#7F7A7C

Preview Lab

Preview with #7B295C

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

Preview Lab → · Contrast checker → · Palette generator →

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