#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 |
|---|---|
| RGB | rgb(124, 49, 93) |
| HSL | hsl(325, 43%, 34%) |
| HSV | hsv(325, 60%, 49%) |
| CMYK | cmyk(0%, 60.5%, 25%, 51.4%) |
| CIE-LAB | lab(32.42, 37.77, -10.11) |
| CIE-LCH | lch(32.42, 39.10, 345.02°) |
| OKLab | oklab(43.27% 0.1138 -0.0266) |
| OKLCH | oklch(43.27% 0.117 346.8) |
| XYZ | xyz(11.3867, 7.2731, 11.1580) |
| Luminance | 0.0727 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Grape
#6C3461
ΔE00 4.57
Bruise
#7E4071
ΔE00 5.28
Velvet
#750851
ΔE00 6.52
Reddish Purple
#910951
ΔE00 6.96
Red Purple
#820747
ΔE00 7.17
Dark Magenta
#960056
ΔE00 7.18
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 |
|---|---|---|---|---|
| ##7C315D | 1.00 | 8.56 | 2.45 | 8.56 |
| #FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.56 | 1.00 | 21.00 | 1.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