#7A2048#7A2048

#7A2048 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.0% C 0.129 H 357.6°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#7A2048
RGBrgb(122, 32, 72)
HSLhsl(333, 58%, 30%)
HSVhsv(333, 74%, 48%)
CMYKcmyk(0%, 73.8%, 41%, 52.2%)
CIE-LABlab(28.48, 42.02, -2.29)
CIE-LCHlch(28.48, 42.08, 356.88°)
OKLaboklab(40.04% 0.1289 -0.0055)
OKLCHoklch(40.04% 0.129 357.6)
XYZxyz(9.7129, 5.6397, 6.7067)
Luminance0.0564 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2048 #207A52
analogous
#7A2075 #7A2048 #7A2520
triadic
#7A2048 #487A20 #20487A
tetradic
#7A2048 #757A20 #207A52 #25207A
square
#7A2048 #757A20 #207A52 #25207A
split-complementary
#7A2048 #207A25 #20757A
monochromatic
#19070F #4A132B #7A2048 #AA2D65 #CE4683

Accessibility & contrast

On white

9.87
#7A2048 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7A2048 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2048
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2048#FFFFFF#000000##FFFFFF
##7A20481.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323849
Deuteranopia (green-blind)
#4A4946
Tritanopia (blue-blind)
#841531
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7a2048;
/* rgb */ color: rgb(122, 32, 72);
/* oklch */ color: oklch(40.0% 0.129 357.6);
Tailwind
colors: {
  custom: {
    50: '#a5637a',
    500: '#7a2048',
    950: '#000000',
  },
}
SCSS
$custom: #7a2048;
$custom-light: #a5637a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2048",
  "rgb": {
    "r": 122,
    "g": 32,
    "b": 72
  },
  "hsl": {
    "h": 333.333,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40041,
    "c": 0.12898,
    "h": 357.6
  },
  "luminance": 0.05638
}

Semantic roles & 50–950 ramp

primary
#7A2048
secondary
#49AD80
accent
#E29D46
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7A2048

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

Preview Lab → · Contrast checker → · Palette generator →

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