#7A314F#7A314F

#7A314F is a dark, moderate pink. Relative luminance 0.069; OKLCH L 42.4% C 0.107 H 357.0°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#7A314F
RGBrgb(122, 49, 79)
HSLhsl(335, 43%, 34%)
HSVhsv(335, 60%, 48%)
CMYKcmyk(0%, 59.8%, 35.2%, 52.2%)
CIE-LABlab(31.58, 35.11, -2.33)
CIE-LCHlch(31.58, 35.19, 356.20°)
OKLaboklab(42.41% 0.1069 -0.0057)
OKLCHoklch(42.41% 0.107 357)
XYZxyz(10.5362, 6.8998, 8.1725)
Luminance0.0690 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A314F #317A5C
analogous
#7A3173 #7A314F #7A3731
triadic
#7A314F #4F7A31 #314F7A
tetradic
#7A314F #737A31 #317A5C #37317A
square
#7A314F #737A31 #317A5C #37317A
split-complementary
#7A314F #317A37 #31737A
monochromatic
#230E16 #4E1F33 #7A314F #A6436B #C1648A

Accessibility & contrast

On white

8.82
#7A314F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#7A314F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A314F
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A314F#FFFFFF#000000##FFFFFF
##7A314F1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4250
Deuteranopia (green-blind)
#504F4D
Tritanopia (blue-blind)
#832C3C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7a314f;
/* rgb */ color: rgb(122, 49, 79);
/* oklch */ color: oklch(42.4% 0.107 357.0);
Tailwind
colors: {
  custom: {
    50: '#a36d80',
    500: '#7a314f',
    950: '#000000',
  },
}
SCSS
$custom: #7a314f;
$custom-light: #a36d80;
$custom-dark: #000000;
JSON
{
  "hex": "#7a314f",
  "rgb": {
    "r": 122,
    "g": 49,
    "b": 79
  },
  "hsl": {
    "h": 335.342,
    "s": 42.69,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42412,
    "c": 0.10708,
    "h": 357
  },
  "luminance": 0.06899
}

Semantic roles & 50–950 ramp

primary
#7A314F
secondary
#5EA88A
accent
#D29F55
background
#FAF6F7
surface
#F4ECEE
border
#CEC7C9
text
#0F070A
muted
#7F7A7C

Preview Lab

Preview with #7A314F

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

Preview Lab → · Contrast checker → · Palette generator →

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