#7A314C#7A314C

#7A314C is a dark, moderate pink. Relative luminance 0.069; OKLCH L 42.3% C 0.106 H 359.5°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#7A314C
RGBrgb(122, 49, 76)
HSLhsl(338, 43%, 34%)
HSVhsv(338, 60%, 48%)
CMYKcmyk(0%, 59.8%, 37.7%, 52.2%)
CIE-LABlab(31.48, 34.72, -0.52)
CIE-LCHlch(31.48, 34.73, 359.14°)
OKLaboklab(42.31% 0.1058 -0.0009)
OKLCHoklch(42.31% 0.106 359.5)
XYZxyz(10.4294, 6.8571, 7.6104)
Luminance0.0686 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A314C #317A5F
analogous
#7A3170 #7A314C #7A3A31
triadic
#7A314C #4C7A31 #314C7A
tetradic
#7A314C #707A31 #317A5F #3A317A
square
#7A314C #707A31 #317A5F #3A317A
split-complementary
#7A314C #317A3A #31707A
monochromatic
#230E16 #4E1F31 #7A314C #A64367 #C16487

Accessibility & contrast

On white

8.86
#7A314C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#7A314C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A314C
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A314C#FFFFFF#000000##FFFFFF
##7A314C1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D414D
Deuteranopia (green-blind)
#514F4A
Tritanopia (blue-blind)
#842B3B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7a314c;
/* rgb */ color: rgb(122, 49, 76);
/* oklch */ color: oklch(42.3% 0.106 359.5);
Tailwind
colors: {
  custom: {
    50: '#a36d7d',
    500: '#7a314c',
    950: '#000000',
  },
}
SCSS
$custom: #7a314c;
$custom-light: #a36d7d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a314c",
  "rgb": {
    "r": 122,
    "g": 49,
    "b": 76
  },
  "hsl": {
    "h": 337.808,
    "s": 42.69,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42306,
    "c": 0.10583,
    "h": 359.5
  },
  "luminance": 0.06856
}

Semantic roles & 50–950 ramp

primary
#7A314C
secondary
#5EA88D
accent
#D2A455
background
#FAF6F7
surface
#F4ECEE
border
#CEC7C9
text
#0F0709
muted
#7F7A7B

Preview Lab

Preview with #7A314C

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

Preview Lab → · Contrast checker → · Palette generator →

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