#7A315E#7A315E

#7A315E is a dark, moderate pink. Relative luminance 0.071; OKLCH L 43.0% C 0.116 H 345.1°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#7A315E
RGBrgb(122, 49, 94)
HSLhsl(323, 43%, 34%)
HSVhsv(323, 60%, 48%)
CMYKcmyk(0%, 59.8%, 23%, 52.2%)
CIE-LABlab(32.13, 37.27, -11.22)
CIE-LCHlch(32.13, 38.92, 343.24°)
OKLaboklab(43.01% 0.1118 -0.0297)
OKLCHoklch(43.01% 0.116 345.1)
XYZxyz(11.1451, 7.1433, 11.3793)
Luminance0.0714 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A315E #317A4D
analogous
#71317A #7A315E #7A3139
triadic
#7A315E #5E7A31 #315E7A
tetradic
#7A315E #7A7131 #317A4D #31397A
square
#7A315E #7A7131 #317A4D #31397A
split-complementary
#7A315E #397A31 #317A71
monochromatic
#230E1B #4E1F3C #7A315E #A64380 #C1649D

Accessibility & contrast

On white

8.65
#7A315E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#7A315E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A315E
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A315E#FFFFFF#000000##FFFFFF
##7A315E1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38445F
Deuteranopia (green-blind)
#4C505C
Tritanopia (blue-blind)
#823043
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7a315e;
/* rgb */ color: rgb(122, 49, 94);
/* oklch */ color: oklch(43.0% 0.116 345.1);
Tailwind
colors: {
  custom: {
    50: '#a36d8b',
    500: '#7a315e',
    950: '#000000',
  },
}
SCSS
$custom: #7a315e;
$custom-light: #a36d8b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a315e",
  "rgb": {
    "r": 122,
    "g": 49,
    "b": 94
  },
  "hsl": {
    "h": 323.014,
    "s": 42.69,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43005,
    "c": 0.11565,
    "h": 345.1
  },
  "luminance": 0.07142
}

Semantic roles & 50–950 ramp

primary
#7A315E
secondary
#5EA87B
accent
#D28555
background
#FAF6F8
surface
#F4ECF0
border
#CEC7CB
text
#0F070C
muted
#7F7A7D

Preview Lab

Preview with #7A315E

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

Preview Lab → · Contrast checker → · Palette generator →

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