#7A2B4E#7A2B4E

#7A2B4E is a dark, moderate pink. Relative luminance 0.064; OKLCH L 41.6% C 0.116 H 355.9°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#7A2B4E
RGBrgb(122, 43, 78)
HSLhsl(333, 48%, 32%)
HSVhsv(333, 65%, 48%)
CMYKcmyk(0%, 64.8%, 36.1%, 52.2%)
CIE-LABlab(30.44, 37.94, -3.36)
CIE-LCHlch(30.44, 38.09, 354.94°)
OKLaboklab(41.55% 0.1158 -0.0084)
OKLCHoklch(41.55% 0.116 355.9)
XYZxyz(10.2656, 6.4165, 7.9041)
Luminance0.0641 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2B4E #2B7A57
analogous
#7A2B76 #7A2B4E #7A302B
triadic
#7A2B4E #4E7A2B #2B4E7A
tetradic
#7A2B4E #767A2B #2B7A57 #302B7A
square
#7A2B4E #767A2B #2B7A57 #302B7A
split-complementary
#7A2B4E #2B7A30 #2B767A
monochromatic
#1F0B14 #4D1B31 #7A2B4E #A73B6B #C55A8A

Accessibility & contrast

On white

9.20
#7A2B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7A2B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2B4E
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2B4E#FFFFFF#000000##FFFFFF
##7A2B4E1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383E4F
Deuteranopia (green-blind)
#4D4D4C
Tritanopia (blue-blind)
#842539
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7a2b4e;
/* rgb */ color: rgb(122, 43, 78);
/* oklch */ color: oklch(41.6% 0.116 355.9);
Tailwind
colors: {
  custom: {
    50: '#a4697f',
    500: '#7a2b4e',
    950: '#000000',
  },
}
SCSS
$custom: #7a2b4e;
$custom-light: #a4697f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2b4e",
  "rgb": {
    "r": 122,
    "g": 43,
    "b": 78
  },
  "hsl": {
    "h": 333.418,
    "s": 47.879,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41554,
    "c": 0.1161,
    "h": 355.9
  },
  "luminance": 0.06415
}

Semantic roles & 50–950 ramp

primary
#7A2B4E
secondary
#56AB85
accent
#D79C50
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7A2B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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