#7A314B#7A314B

#7A314B is a dark, moderate pink. Relative luminance 0.068; OKLCH L 42.3% C 0.105 H 0.4°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#7A314B
RGBrgb(122, 49, 75)
HSLhsl(339, 43%, 34%)
HSVhsv(339, 60%, 48%)
CMYKcmyk(0%, 59.8%, 38.5%, 52.2%)
CIE-LABlab(31.45, 34.59, 0.08)
CIE-LCHlch(31.45, 34.59, 0.14°)
OKLaboklab(42.27% 0.1055 0.0007)
OKLCHoklch(42.27% 0.105 0.4)
XYZxyz(10.3949, 6.8433, 7.4287)
Luminance0.0684 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A314B #317A60
analogous
#7A316F #7A314B #7A3B31
triadic
#7A314B #4B7A31 #314B7A
tetradic
#7A314B #6F7A31 #317A60 #3B317A
square
#7A314B #6F7A31 #317A60 #3B317A
split-complementary
#7A314B #317A3B #316F7A
monochromatic
#230E15 #4E1F30 #7A314B #A64366 #C16485

Accessibility & contrast

On white

8.87
#7A314B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A314B
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A314B#FFFFFF#000000##FFFFFF
##7A314B1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a314b;
/* rgb */ color: rgb(122, 49, 75);
/* oklch */ color: oklch(42.3% 0.105 0.4);
Tailwind
colors: {
  custom: {
    50: '#a36d7d',
    500: '#7a314b',
    950: '#000000',
  },
}
SCSS
$custom: #7a314b;
$custom-light: #a36d7d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a314b",
  "rgb": {
    "r": 122,
    "g": 49,
    "b": 75
  },
  "hsl": {
    "h": 338.63,
    "s": 42.69,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42272,
    "c": 0.10545,
    "h": 0.4
  },
  "luminance": 0.06842
}

Semantic roles & 50–950 ramp

primary
#7A314B
secondary
#5EA88E
accent
#D2A655
background
#FAF6F7
surface
#F4ECEE
border
#CEC7C9
text
#100709
muted
#7F7A7B

Preview Lab

Preview with #7A314B

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

Preview Lab → · Contrast checker → · Palette generator →

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