#7A2F4E#7A2F4E

#7A2F4E is a dark, moderate pink. Relative luminance 0.067; OKLCH L 42.1% C 0.110 H 357.1°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#7A2F4E
RGBrgb(122, 47, 78)
HSLhsl(335, 44%, 33%)
HSVhsv(335, 61%, 48%)
CMYKcmyk(0%, 61.5%, 36.1%, 52.2%)
CIE-LABlab(31.16, 35.99, -2.29)
CIE-LCHlch(31.16, 36.06, 356.36°)
OKLaboklab(42.09% 0.1097 -0.0056)
OKLCHoklch(42.09% 0.11 357.1)
XYZxyz(10.4183, 6.7218, 7.9550)
Luminance0.0672 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2F4E #2F7A5B
analogous
#7A2F73 #7A2F4E #7A352F
triadic
#7A2F4E #4E7A2F #2F4E7A
tetradic
#7A2F4E #737A2F #2F7A5B #352F7A
square
#7A2F4E #737A2F #2F7A5B #352F7A
split-complementary
#7A2F4E #2F7A35 #2F737A
monochromatic
#220D16 #4E1E32 #7A2F4E #A6406A #C26189

Accessibility & contrast

On white

8.96
#7A2F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#7A2F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2F4E
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2F4E#FFFFFF#000000##FFFFFF
##7A2F4E1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B414F
Deuteranopia (green-blind)
#4F4F4C
Tritanopia (blue-blind)
#83293B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7a2f4e;
/* rgb */ color: rgb(122, 47, 78);
/* oklch */ color: oklch(42.1% 0.110 357.1);
Tailwind
colors: {
  custom: {
    50: '#a36b7f',
    500: '#7a2f4e',
    950: '#000000',
  },
}
SCSS
$custom: #7a2f4e;
$custom-light: #a36b7f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2f4e",
  "rgb": {
    "r": 122,
    "g": 47,
    "b": 78
  },
  "hsl": {
    "h": 335.2,
    "s": 44.379,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42093,
    "c": 0.10985,
    "h": 357.1
  },
  "luminance": 0.06721
}

Semantic roles & 50–950 ramp

primary
#7A2F4E
secondary
#5CA989
accent
#D49F54
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#0F070A
muted
#7F7A7C

Preview Lab

Preview with #7A2F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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