#7A2D64#7A2D64

#7A2D64 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.7% C 0.127 H 340.4°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#7A2D64
RGBrgb(122, 45, 100)
HSLhsl(317, 46%, 33%)
HSVhsv(317, 63%, 48%)
CMYKcmyk(0%, 63.1%, 18%, 52.2%)
CIE-LABlab(31.66, 40.17, -15.80)
CIE-LCHlch(31.66, 43.17, 338.53°)
OKLaboklab(42.74% 0.1192 -0.0424)
OKLCHoklch(42.74% 0.127 340.4)
XYZxyz(11.2649, 6.9354, 12.7995)
Luminance0.0693 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2D64 #2D7A43
analogous
#692D7A #7A2D64 #7A2D3D
triadic
#7A2D64 #647A2D #2D647A
tetradic
#7A2D64 #7A692D #2D7A43 #2D3D7A
square
#7A2D64 #7A692D #2D7A43 #2D3D7A
split-complementary
#7A2D64 #3D7A2D #2D7A69
monochromatic
#210C1B #4D1D3F #7A2D64 #A73D89 #C45EA6

Accessibility & contrast

On white

8.80
#7A2D64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#7A2D64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2D64
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2D64#FFFFFF#000000##FFFFFF
##7A2D641.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314366
Deuteranopia (green-blind)
#484F62
Tritanopia (blue-blind)
#812F44
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7a2d64;
/* rgb */ color: rgb(122, 45, 100);
/* oklch */ color: oklch(42.7% 0.127 340.4);
Tailwind
colors: {
  custom: {
    50: '#a36b90',
    500: '#7a2d64',
    950: '#000000',
  },
}
SCSS
$custom: #7a2d64;
$custom-light: #a36b90;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2d64",
  "rgb": {
    "r": 122,
    "g": 45,
    "b": 100
  },
  "hsl": {
    "h": 317.143,
    "s": 46.108,
    "l": 32.745
  },
  "oklch": {
    "l": 0.4274,
    "c": 0.12652,
    "h": 340.4
  },
  "luminance": 0.06934
}

Semantic roles & 50–950 ramp

primary
#7A2D64
secondary
#59AA70
accent
#D67852
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F070C
muted
#7F7A7D

Preview Lab

Preview with #7A2D64

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

Preview Lab → · Contrast checker → · Palette generator →

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