#7D314C#7D314C

#7D314C is a dark, moderate pink. Relative luminance 0.071; OKLCH L 42.8% C 0.109 H 0.6°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#7D314C
RGBrgb(125, 49, 76)
HSLhsl(339, 44%, 34%)
HSVhsv(339, 61%, 49%)
CMYKcmyk(0%, 60.8%, 39.2%, 51%)
CIE-LABlab(31.99, 35.79, 0.28)
CIE-LCHlch(31.99, 35.79, 0.45°)
OKLaboklab(42.79% 0.1091 0.0012)
OKLCHoklch(42.79% 0.109 0.6)
XYZxyz(10.8609, 7.0796, 7.6306)
Luminance0.0708 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D314C #317D62
analogous
#7D3172 #7D314C #7D3C31
triadic
#7D314C #4C7D31 #314C7D
tetradic
#7D314C #727D31 #317D62 #3C317D
square
#7D314C #727D31 #317D62 #3C317D
split-complementary
#7D314C #317D3C #31727D
monochromatic
#250F17 #512031 #7D314C #A94267 #C36687

Accessibility & contrast

On white

8.69
#7D314C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#7D314C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D314C
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D314C#FFFFFF#000000##FFFFFF
##7D314C1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E424D
Deuteranopia (green-blind)
#52514A
Tritanopia (blue-blind)
#872A3B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7d314c;
/* rgb */ color: rgb(125, 49, 76);
/* oklch */ color: oklch(42.8% 0.109 0.6);
Tailwind
colors: {
  custom: {
    50: '#a66d7d',
    500: '#7d314c',
    950: '#000000',
  },
}
SCSS
$custom: #7d314c;
$custom-light: #a66d7d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d314c",
  "rgb": {
    "r": 125,
    "g": 49,
    "b": 76
  },
  "hsl": {
    "h": 338.684,
    "s": 43.678,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42785,
    "c": 0.10915,
    "h": 0.6
  },
  "luminance": 0.07078
}

Semantic roles & 50–950 ramp

primary
#7D314C
secondary
#60AA90
accent
#D3A654
background
#FAF6F7
surface
#F4ECEE
border
#CEC7C9
text
#100709
muted
#7F7A7B

Preview Lab

Preview with #7D314C

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

Preview Lab → · Contrast checker → · Palette generator →

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