#7C315D#7C315D

#7C315D is a dark, moderate pink. Relative luminance 0.073; OKLCH L 43.3% C 0.117 H 346.8°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#7C315D
RGBrgb(124, 49, 93)
HSLhsl(325, 43%, 34%)
HSVhsv(325, 60%, 49%)
CMYKcmyk(0%, 60.5%, 25%, 51.4%)
CIE-LABlab(32.42, 37.77, -10.11)
CIE-LCHlch(32.42, 39.10, 345.02°)
OKLaboklab(43.27% 0.1138 -0.0266)
OKLCHoklch(43.27% 0.117 346.8)
XYZxyz(11.3867, 7.2731, 11.1580)
Luminance0.0727 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C315D #317C50
analogous
#76317C #7C315D #7C3138
triadic
#7C315D #5D7C31 #315D7C
tetradic
#7C315D #7C7631 #317C50 #31387C
square
#7C315D #7C7631 #317C50 #31387C
split-complementary
#7C315D #387C31 #317C76
monochromatic
#240E1B #50203C #7C315D #A8427E #C2659C

Accessibility & contrast

On white

8.56
#7C315D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#7C315D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C315D
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C315D#FFFFFF#000000##FFFFFF
##7C315D1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39445E
Deuteranopia (green-blind)
#4E515B
Tritanopia (blue-blind)
#842F43
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7c315d;
/* rgb */ color: rgb(124, 49, 93);
/* oklch */ color: oklch(43.3% 0.117 346.8);
Tailwind
colors: {
  custom: {
    50: '#a46d8b',
    500: '#7c315d',
    950: '#000000',
  },
}
SCSS
$custom: #7c315d;
$custom-light: #a46d8b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c315d",
  "rgb": {
    "r": 124,
    "g": 49,
    "b": 93
  },
  "hsl": {
    "h": 324.8,
    "s": 43.353,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43272,
    "c": 0.11683,
    "h": 346.8
  },
  "luminance": 0.07272
}

Semantic roles & 50–950 ramp

primary
#7C315D
secondary
#5FAA7E
accent
#D38955
background
#FAF6F8
surface
#F4ECF0
border
#CEC7CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #7C315D

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

Preview Lab → · Contrast checker → · Palette generator →

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