#7C314D#7C314D

#7C314D is a dark, moderate pink. Relative luminance 0.070; OKLCH L 42.7% C 0.108 H 359.4°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#7C314D
RGBrgb(124, 49, 77)
HSLhsl(338, 43%, 34%)
HSVhsv(338, 60%, 49%)
CMYKcmyk(0%, 60.5%, 37.9%, 51.4%)
CIE-LABlab(31.85, 35.56, -0.59)
CIE-LCHlch(31.85, 35.56, 359.04°)
OKLaboklab(42.66% 0.1084 -0.0011)
OKLCHoklch(42.66% 0.108 359.4)
XYZxyz(10.7506, 7.0187, 7.8083)
Luminance0.0702 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C314D #317C60
analogous
#7C3173 #7C314D #7C3B31
triadic
#7C314D #4D7C31 #314D7C
tetradic
#7C314D #737C31 #317C60 #3B317C
square
#7C314D #737C31 #317C60 #3B317C
split-complementary
#7C314D #317C3B #31737C
monochromatic
#240E17 #502032 #7C314D #A84268 #C26588

Accessibility & contrast

On white

8.74
#7C314D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#7C314D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C314D
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C314D#FFFFFF#000000##FFFFFF
##7C314D1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E424E
Deuteranopia (green-blind)
#52504B
Tritanopia (blue-blind)
#862B3C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7c314d;
/* rgb */ color: rgb(124, 49, 77);
/* oklch */ color: oklch(42.7% 0.108 359.4);
Tailwind
colors: {
  custom: {
    50: '#a56d7e',
    500: '#7c314d',
    950: '#000000',
  },
}
SCSS
$custom: #7c314d;
$custom-light: #a56d7e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c314d",
  "rgb": {
    "r": 124,
    "g": 49,
    "b": 77
  },
  "hsl": {
    "h": 337.6,
    "s": 43.353,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42659,
    "c": 0.10843,
    "h": 359.4
  },
  "luminance": 0.07018
}

Semantic roles & 50–950 ramp

primary
#7C314D
secondary
#5FAA8E
accent
#D3A455
background
#FAF6F7
surface
#F4ECEE
border
#CEC7C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7C314D

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

Preview Lab → · Contrast checker → · Palette generator →

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