#7A314D#7A314D

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

Color values

HEX#7A314D
RGBrgb(122, 49, 77)
HSLhsl(337, 43%, 34%)
HSVhsv(337, 60%, 48%)
CMYKcmyk(0%, 59.8%, 36.9%, 52.2%)
CIE-LABlab(31.51, 34.85, -1.13)
CIE-LCHlch(31.51, 34.87, 358.15°)
OKLaboklab(42.34% 0.1062 -0.0025)
OKLCHoklch(42.34% 0.106 358.6)
XYZxyz(10.4645, 6.8711, 7.7949)
Luminance0.0687 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A314D #317A5E
analogous
#7A3171 #7A314D #7A3931
triadic
#7A314D #4D7A31 #314D7A
tetradic
#7A314D #717A31 #317A5E #39317A
square
#7A314D #717A31 #317A5E #39317A
split-complementary
#7A314D #317A39 #31717A
monochromatic
#230E16 #4E1F31 #7A314D #A64369 #C16488

Accessibility & contrast

On white

8.85
#7A314D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A314D
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A314D#FFFFFF#000000##FFFFFF
##7A314D1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D424E
Deuteranopia (green-blind)
#504F4B
Tritanopia (blue-blind)
#832B3C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7a314d;
/* rgb */ color: rgb(122, 49, 77);
/* oklch */ color: oklch(42.3% 0.106 358.6);
Tailwind
colors: {
  custom: {
    50: '#a36d7e',
    500: '#7a314d',
    950: '#000000',
  },
}
SCSS
$custom: #7a314d;
$custom-light: #a36d7e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a314d",
  "rgb": {
    "r": 122,
    "g": 49,
    "b": 77
  },
  "hsl": {
    "h": 336.986,
    "s": 42.69,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42341,
    "c": 0.10623,
    "h": 358.6
  },
  "luminance": 0.0687
}

Semantic roles & 50–950 ramp

primary
#7A314D
secondary
#5EA88C
accent
#D2A255
background
#FAF6F7
surface
#F4ECEE
border
#CEC7C9
text
#0F070A
muted
#7F7A7C

Preview Lab

Preview with #7A314D

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

Preview Lab → · Contrast checker → · Palette generator →

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