#7B3155#7B3155

#7B3155 is a dark, moderate pink. Relative luminance 0.071; OKLCH L 42.8% C 0.111 H 352.5°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#7B3155
RGBrgb(123, 49, 85)
HSLhsl(331, 43%, 34%)
HSVhsv(331, 60%, 48%)
CMYKcmyk(0%, 60.2%, 30.9%, 51.8%)
CIE-LABlab(31.95, 36.28, -5.66)
CIE-LCHlch(31.95, 36.72, 351.14°)
OKLaboklab(42.79% 0.1101 -0.0145)
OKLCHoklch(42.79% 0.111 352.5)
XYZxyz(10.9069, 7.0645, 9.3817)
Luminance0.0706 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3155 #317B57
analogous
#7B317A #7B3155 #7B3231
triadic
#7B3155 #557B31 #31557B
tetradic
#7B3155 #7A7B31 #317B57 #32317B
square
#7B3155 #7A7B31 #317B57 #32317B
split-complementary
#7B3155 #317B32 #317A7B
monochromatic
#230E19 #4F2037 #7B3155 #A74273 #C26592

Accessibility & contrast

On white

8.70
#7B3155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#7B3155 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B3155
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3155#FFFFFF#000000##FFFFFF
##7B31551.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4356
Deuteranopia (green-blind)
#4F5053
Tritanopia (blue-blind)
#842D3F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7b3155;
/* rgb */ color: rgb(123, 49, 85);
/* oklch */ color: oklch(42.8% 0.111 352.5);
Tailwind
colors: {
  custom: {
    50: '#a46d84',
    500: '#7b3155',
    950: '#000000',
  },
}
SCSS
$custom: #7b3155;
$custom-light: #a46d84;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3155",
  "rgb": {
    "r": 123,
    "g": 49,
    "b": 85
  },
  "hsl": {
    "h": 330.811,
    "s": 43.023,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42793,
    "c": 0.11109,
    "h": 352.5
  },
  "luminance": 0.07063
}

Semantic roles & 50–950 ramp

primary
#7B3155
secondary
#5FA985
accent
#D39655
background
#FAF6F8
surface
#F4ECEF
border
#CEC7CA
text
#0F070B
muted
#7F7A7C

Preview Lab

Preview with #7B3155

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

Preview Lab → · Contrast checker → · Palette generator →

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