#7C3161#7C3161

#7C3161 is a dark, moderate pink. Relative luminance 0.073; OKLCH L 43.4% C 0.120 H 343.9°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#7C3161
RGBrgb(124, 49, 97)
HSLhsl(322, 43%, 34%)
HSVhsv(322, 60%, 49%)
CMYKcmyk(0%, 60.5%, 21.8%, 51.4%)
CIE-LABlab(32.58, 38.39, -12.44)
CIE-LCHlch(32.58, 40.35, 342.05°)
OKLaboklab(43.44% 0.1149 -0.0331)
OKLCHoklch(43.44% 0.12 343.9)
XYZxyz(11.5685, 7.3458, 12.1156)
Luminance0.0735 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3161 #317C4C
analogous
#72317C #7C3161 #7C313C
triadic
#7C3161 #617C31 #31617C
tetradic
#7C3161 #7C7231 #317C4C #313C7C
square
#7C3161 #7C7231 #317C4C #313C7C
split-complementary
#7C3161 #3C7C31 #317C72
monochromatic
#240E1C #50203F #7C3161 #A84283 #C265A1

Accessibility & contrast

On white

8.51
#7C3161 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#7C3161 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C3161
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3161#FFFFFF#000000##FFFFFF
##7C31611.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374563
Deuteranopia (green-blind)
#4C515F
Tritanopia (blue-blind)
#843144
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7c3161;
/* rgb */ color: rgb(124, 49, 97);
/* oklch */ color: oklch(43.4% 0.120 343.9);
Tailwind
colors: {
  custom: {
    50: '#a46d8e',
    500: '#7c3161',
    950: '#000000',
  },
}
SCSS
$custom: #7c3161;
$custom-light: #a46d8e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3161",
  "rgb": {
    "r": 124,
    "g": 49,
    "b": 97
  },
  "hsl": {
    "h": 321.6,
    "s": 43.353,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43444,
    "c": 0.11952,
    "h": 343.9
  },
  "luminance": 0.07345
}

Semantic roles & 50–950 ramp

primary
#7C3161
secondary
#5FAA7A
accent
#D38255
background
#FAF6F8
surface
#F4ECF0
border
#CEC7CB
text
#0F070C
muted
#7F7A7D

Preview Lab

Preview with #7C3161

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

Preview Lab → · Contrast checker → · Palette generator →

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