#7A2045#7A2045

#7A2045 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 39.9% C 0.128 H 359.7°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#7A2045
RGBrgb(122, 32, 69)
HSLhsl(335, 58%, 30%)
HSVhsv(335, 74%, 48%)
CMYKcmyk(0%, 73.8%, 43.4%, 52.2%)
CIE-LABlab(28.38, 41.68, -0.44)
CIE-LCHlch(28.38, 41.69, 359.40°)
OKLaboklab(39.93% 0.1278 -0.0006)
OKLCHoklch(39.93% 0.128 359.7)
XYZxyz(9.6174, 5.6015, 6.2038)
Luminance0.0560 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2045 #207A55
analogous
#7A2072 #7A2045 #7A2820
triadic
#7A2045 #457A20 #20457A
tetradic
#7A2045 #727A20 #207A55 #28207A
square
#7A2045 #727A20 #207A55 #28207A
split-complementary
#7A2045 #207A28 #20727A
monochromatic
#19070E #4A132A #7A2045 #AA2D60 #CE467E

Accessibility & contrast

On white

9.91
#7A2045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7A2045 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2045
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2045#FFFFFF#000000##FFFFFF
##7A20451.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333846
Deuteranopia (green-blind)
#4B4943
Tritanopia (blue-blind)
#841430
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7a2045;
/* rgb */ color: rgb(122, 32, 69);
/* oklch */ color: oklch(39.9% 0.128 359.7);
Tailwind
colors: {
  custom: {
    50: '#a56378',
    500: '#7a2045',
    950: '#000000',
  },
}
SCSS
$custom: #7a2045;
$custom-light: #a56378;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2045",
  "rgb": {
    "r": 122,
    "g": 32,
    "b": 69
  },
  "hsl": {
    "h": 335.333,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39934,
    "c": 0.1278,
    "h": 359.7
  },
  "luminance": 0.056
}

Semantic roles & 50–950 ramp

primary
#7A2045
secondary
#49AD84
accent
#E2A246
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7A2045

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

Preview Lab → · Contrast checker → · Palette generator →

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