#7A2845#7A2845

#7A2845 is a dark, moderate pink. Relative luminance 0.061; OKLCH L 40.9% C 0.117 H 2.0°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#7A2845
RGBrgb(122, 40, 69)
HSLhsl(339, 51%, 32%)
HSVhsv(339, 67%, 48%)
CMYKcmyk(0%, 67.2%, 43.4%, 52.2%)
CIE-LABlab(29.63, 38.26, 1.38)
CIE-LCHlch(29.63, 38.28, 2.06°)
OKLaboklab(40.86% 0.1169 0.004)
OKLCHoklch(40.86% 0.117 2)
XYZxyz(9.8597, 6.0860, 6.2846)
Luminance0.0609 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2845 #287A5D
analogous
#7A286E #7A2845 #7A3428
triadic
#7A2845 #457A28 #28457A
tetradic
#7A2845 #6E7A28 #287A5D #34287A
square
#7A2845 #6E7A28 #287A5D #34287A
split-complementary
#7A2845 #287A34 #286E7A
monochromatic
#1E0A11 #4C192B #7A2845 #A8375F #C7557D

Accessibility & contrast

On white

9.47
#7A2845 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7A2845 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2845
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2845#FFFFFF#000000##FFFFFF
##7A28451.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383C46
Deuteranopia (green-blind)
#4E4C43
Tritanopia (blue-blind)
#841E33
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7a2845;
/* rgb */ color: rgb(122, 40, 69);
/* oklch */ color: oklch(40.9% 0.117 2.0);
Tailwind
colors: {
  custom: {
    50: '#a46778',
    500: '#7a2845',
    950: '#000000',
  },
}
SCSS
$custom: #7a2845;
$custom-light: #a46778;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2845",
  "rgb": {
    "r": 122,
    "g": 40,
    "b": 69
  },
  "hsl": {
    "h": 338.78,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40855,
    "c": 0.117,
    "h": 2
  },
  "luminance": 0.06085
}

Semantic roles & 50–950 ramp

primary
#7A2845
secondary
#52AC8C
accent
#DAA84E
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7A2845

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

Preview Lab → · Contrast checker → · Palette generator →

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