#7A2B5D#7A2B5D

#7A2B5D is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.2% C 0.125 H 344.8°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#7A2B5D
RGBrgb(122, 43, 93)
HSLhsl(322, 48%, 32%)
HSVhsv(322, 65%, 48%)
CMYKcmyk(0%, 64.8%, 23.8%, 52.2%)
CIE-LABlab(31.01, 40.03, -12.28)
CIE-LCHlch(31.01, 41.87, 342.95°)
OKLaboklab(42.17% 0.1204 -0.0326)
OKLCHoklch(42.17% 0.125 344.8)
XYZxyz(10.8661, 6.6567, 11.0664)
Luminance0.0666 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2B5D #2B7A48
analogous
#6F2B7A #7A2B5D #7A2B36
triadic
#7A2B5D #5D7A2B #2B5D7A
tetradic
#7A2B5D #7A6F2B #2B7A48 #2B367A
square
#7A2B5D #7A6F2B #2B7A48 #2B367A
split-complementary
#7A2B5D #367A2B #2B7A6F
monochromatic
#1F0B18 #4D1B3B #7A2B5D #A73B7F #C55A9E

Accessibility & contrast

On white

9.01
#7A2B5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#7A2B5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2B5D
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2B5D#FFFFFF#000000##FFFFFF
##7A2B5D1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33415F
Deuteranopia (green-blind)
#494E5B
Tritanopia (blue-blind)
#822A40
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7a2b5d;
/* rgb */ color: rgb(122, 43, 93);
/* oklch */ color: oklch(42.2% 0.125 344.8);
Tailwind
colors: {
  custom: {
    50: '#a36a8b',
    500: '#7a2b5d',
    950: '#000000',
  },
}
SCSS
$custom: #7a2b5d;
$custom-light: #a36a8b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2b5d",
  "rgb": {
    "r": 122,
    "g": 43,
    "b": 93
  },
  "hsl": {
    "h": 322.025,
    "s": 47.879,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42165,
    "c": 0.12469,
    "h": 344.8
  },
  "luminance": 0.06656
}

Semantic roles & 50–950 ramp

primary
#7A2B5D
secondary
#56AB75
accent
#D78250
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F070C
muted
#7F7A7D

Preview Lab

Preview with #7A2B5D

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

Preview Lab → · Contrast checker → · Palette generator →

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