#7A2F4D#7A2F4D

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

Color values

HEX#7A2F4D
RGBrgb(122, 47, 77)
HSLhsl(336, 44%, 33%)
HSVhsv(336, 61%, 48%)
CMYKcmyk(0%, 61.5%, 36.9%, 52.2%)
CIE-LABlab(31.13, 35.86, -1.69)
CIE-LCHlch(31.13, 35.90, 357.31°)
OKLaboklab(42.06% 0.1094 -0.004)
OKLCHoklch(42.06% 0.109 357.9)
XYZxyz(10.3827, 6.7075, 7.7676)
Luminance0.0671 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2F4D #2F7A5C
analogous
#7A2F72 #7A2F4D #7A362F
triadic
#7A2F4D #4D7A2F #2F4D7A
tetradic
#7A2F4D #727A2F #2F7A5C #362F7A
square
#7A2F4D #727A2F #2F7A5C #362F7A
split-complementary
#7A2F4D #2F7A36 #2F727A
monochromatic
#220D15 #4E1E31 #7A2F4D #A64069 #C26188

Accessibility & contrast

On white

8.97
#7A2F4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A2F4D
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2F4D#FFFFFF#000000##FFFFFF
##7A2F4D1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B404E
Deuteranopia (green-blind)
#4F4E4B
Tritanopia (blue-blind)
#84293B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7a2f4d;
/* rgb */ color: rgb(122, 47, 77);
/* oklch */ color: oklch(42.1% 0.109 357.9);
Tailwind
colors: {
  custom: {
    50: '#a36b7e',
    500: '#7a2f4d',
    950: '#000000',
  },
}
SCSS
$custom: #7a2f4d;
$custom-light: #a36b7e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2f4d",
  "rgb": {
    "r": 122,
    "g": 47,
    "b": 77
  },
  "hsl": {
    "h": 336,
    "s": 44.379,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42057,
    "c": 0.10942,
    "h": 357.9
  },
  "luminance": 0.06706
}

Semantic roles & 50–950 ramp

primary
#7A2F4D
secondary
#5CA98A
accent
#D4A154
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7A2F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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