#7A315B#7A315B

#7A315B is a dark, moderate pink. Relative luminance 0.071; OKLCH L 42.9% C 0.114 H 347.3°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#7A315B
RGBrgb(122, 49, 91)
HSLhsl(325, 43%, 34%)
HSVhsv(325, 60%, 48%)
CMYKcmyk(0%, 59.8%, 25.4%, 52.2%)
CIE-LABlab(32.01, 36.81, -9.47)
CIE-LCHlch(32.01, 38.01, 345.57°)
OKLaboklab(42.88% 0.1109 -0.0249)
OKLCHoklch(42.88% 0.114 347.3)
XYZxyz(11.0130, 7.0905, 10.6841)
Luminance0.0709 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A315B #317A50
analogous
#74317A #7A315B #7A3136
triadic
#7A315B #5B7A31 #315B7A
tetradic
#7A315B #7A7431 #317A50 #31367A
square
#7A315B #7A7431 #317A50 #31367A
split-complementary
#7A315B #367A31 #317A74
monochromatic
#230E1A #4E1F3A #7A315B #A6437C #C1649A

Accessibility & contrast

On white

8.68
#7A315B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A315B
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A315B#FFFFFF#000000##FFFFFF
##7A315B1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39435C
Deuteranopia (green-blind)
#4D5059
Tritanopia (blue-blind)
#822F42
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7a315b;
/* rgb */ color: rgb(122, 49, 91);
/* oklch */ color: oklch(42.9% 0.114 347.3);
Tailwind
colors: {
  custom: {
    50: '#a36d89',
    500: '#7a315b',
    950: '#000000',
  },
}
SCSS
$custom: #7a315b;
$custom-light: #a36d89;
$custom-dark: #000000;
JSON
{
  "hex": "#7a315b",
  "rgb": {
    "r": 122,
    "g": 49,
    "b": 91
  },
  "hsl": {
    "h": 325.479,
    "s": 42.69,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42878,
    "c": 0.11365,
    "h": 347.3
  },
  "luminance": 0.0709
}

Semantic roles & 50–950 ramp

primary
#7A315B
secondary
#5EA87E
accent
#D28A55
background
#FAF6F8
surface
#F4ECF0
border
#CEC7CB
text
#0F070B
muted
#7F7A7C

Preview Lab

Preview with #7A315B

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

Preview Lab → · Contrast checker → · Palette generator →

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