#7B314A#7B314A

#7B314A is a dark, moderate pink. Relative luminance 0.069; OKLCH L 42.4% C 0.106 H 1.6°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#7B314A
RGBrgb(123, 49, 74)
HSLhsl(340, 43%, 34%)
HSVhsv(340, 60%, 48%)
CMYKcmyk(0%, 60.2%, 39.8%, 51.8%)
CIE-LABlab(31.59, 34.83, 0.96)
CIE-LCHlch(31.59, 34.84, 1.57°)
OKLaboklab(42.4% 0.1062 0.0029)
OKLCHoklch(42.4% 0.106 1.6)
XYZxyz(10.5033, 6.9031, 7.2565)
Luminance0.0690 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B314A #317B62
analogous
#7B316F #7B314A #7B3D31
triadic
#7B314A #4A7B31 #314A7B
tetradic
#7B314A #6F7B31 #317B62 #3D317B
square
#7B314A #6F7B31 #317B62 #3D317B
split-complementary
#7B314A #317B3D #316F7B
monochromatic
#230E15 #4F2030 #7B314A #A74264 #C26584

Accessibility & contrast

On white

8.82
#7B314A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#7B314A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B314A
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B314A#FFFFFF#000000##FFFFFF
##7B314A1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E414B
Deuteranopia (green-blind)
#525048
Tritanopia (blue-blind)
#852A3A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7b314a;
/* rgb */ color: rgb(123, 49, 74);
/* oklch */ color: oklch(42.4% 0.106 1.6);
Tailwind
colors: {
  custom: {
    50: '#a46d7c',
    500: '#7b314a',
    950: '#000000',
  },
}
SCSS
$custom: #7b314a;
$custom-light: #a46d7c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b314a",
  "rgb": {
    "r": 123,
    "g": 49,
    "b": 74
  },
  "hsl": {
    "h": 339.73,
    "s": 43.023,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42398,
    "c": 0.10622,
    "h": 1.6
  },
  "luminance": 0.06902
}

Semantic roles & 50–950 ramp

primary
#7B314A
secondary
#5FA990
accent
#D3A855
background
#FAF6F7
surface
#F4ECEE
border
#CEC7C9
text
#100709
muted
#7F7A7B

Preview Lab

Preview with #7B314A

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

Preview Lab → · Contrast checker → · Palette generator →

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