#7C315E#7C315E

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

Color values

HEX#7C315E
RGBrgb(124, 49, 94)
HSLhsl(324, 43%, 34%)
HSVhsv(324, 60%, 49%)
CMYKcmyk(0%, 60.5%, 24.2%, 51.4%)
CIE-LABlab(32.46, 37.93, -10.69)
CIE-LCHlch(32.46, 39.40, 344.26°)
OKLaboklab(43.31% 0.114 -0.0282)
OKLCHoklch(43.31% 0.117 346.1)
XYZxyz(11.4312, 7.2909, 11.3928)
Luminance0.0729 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C315E #317C4F
analogous
#75317C #7C315E #7C3139
triadic
#7C315E #5E7C31 #315E7C
tetradic
#7C315E #7C7531 #317C4F #31397C
square
#7C315E #7C7531 #317C4F #31397C
split-complementary
#7C315E #397C31 #317C75
monochromatic
#240E1B #50203D #7C315E #A8427F #C2659D

Accessibility & contrast

On white

8.54
#7C315E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#7C315E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C315E
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C315E#FFFFFF#000000##FFFFFF
##7C315E1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38445F
Deuteranopia (green-blind)
#4D515C
Tritanopia (blue-blind)
#843043
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7c315e;
/* rgb */ color: rgb(124, 49, 94);
/* oklch */ color: oklch(43.3% 0.117 346.1);
Tailwind
colors: {
  custom: {
    50: '#a46d8b',
    500: '#7c315e',
    950: '#000000',
  },
}
SCSS
$custom: #7c315e;
$custom-light: #a46d8b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c315e",
  "rgb": {
    "r": 124,
    "g": 49,
    "b": 94
  },
  "hsl": {
    "h": 324,
    "s": 43.353,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43314,
    "c": 0.11747,
    "h": 346.1
  },
  "luminance": 0.0729
}

Semantic roles & 50–950 ramp

primary
#7C315E
secondary
#5FAA7D
accent
#D38755
background
#FAF6F8
surface
#F4ECF0
border
#CEC7CB
text
#0F070C
muted
#7F7A7D

Preview Lab

Preview with #7C315E

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

Preview Lab → · Contrast checker → · Palette generator →

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