#7A2D5F#7A2D5F

#7A2D5F is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.5% C 0.123 H 343.8°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#7A2D5F
RGBrgb(122, 45, 95)
HSLhsl(321, 46%, 33%)
HSVhsv(321, 63%, 48%)
CMYKcmyk(0%, 63.1%, 22.1%, 52.2%)
CIE-LABlab(31.44, 39.39, -12.91)
CIE-LCHlch(31.44, 41.45, 341.85°)
OKLaboklab(42.51% 0.118 -0.0344)
OKLCHoklch(42.51% 0.123 343.8)
XYZxyz(11.0303, 6.8416, 11.5639)
Luminance0.0684 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2D5F #2D7A48
analogous
#6E2D7A #7A2D5F #7A2D38
triadic
#7A2D5F #5F7A2D #2D5F7A
tetradic
#7A2D5F #7A6E2D #2D7A48 #2D387A
square
#7A2D5F #7A6E2D #2D7A48 #2D387A
split-complementary
#7A2D5F #387A2D #2D7A6E
monochromatic
#210C19 #4D1D3C #7A2D5F #A73D82 #C45EA0

Accessibility & contrast

On white

8.87
#7A2D5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#7A2D5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2D5F
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2D5F#FFFFFF#000000##FFFFFF
##7A2D5F1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344261
Deuteranopia (green-blind)
#4A4F5D
Tritanopia (blue-blind)
#822D42
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7a2d5f;
/* rgb */ color: rgb(122, 45, 95);
/* oklch */ color: oklch(42.5% 0.123 343.8);
Tailwind
colors: {
  custom: {
    50: '#a36b8c',
    500: '#7a2d5f',
    950: '#000000',
  },
}
SCSS
$custom: #7a2d5f;
$custom-light: #a36b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2d5f",
  "rgb": {
    "r": 122,
    "g": 45,
    "b": 95
  },
  "hsl": {
    "h": 321.039,
    "s": 46.108,
    "l": 32.745
  },
  "oklch": {
    "l": 0.4251,
    "c": 0.1229,
    "h": 343.8
  },
  "luminance": 0.06841
}

Semantic roles & 50–950 ramp

primary
#7A2D5F
secondary
#59AA75
accent
#D68052
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F070C
muted
#7F7A7D

Preview Lab

Preview with #7A2D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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