#7A2F4B#7A2F4B

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

Color values

HEX#7A2F4B
RGBrgb(122, 47, 75)
HSLhsl(338, 44%, 33%)
HSVhsv(338, 61%, 48%)
CMYKcmyk(0%, 61.5%, 38.5%, 52.2%)
CIE-LABlab(31.07, 35.61, -0.47)
CIE-LCHlch(31.07, 35.61, 359.24°)
OKLaboklab(41.99% 0.1086 -0.0008)
OKLCHoklch(41.99% 0.109 359.6)
XYZxyz(10.3131, 6.6797, 7.4014)
Luminance0.0668 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2F4B #2F7A5E
analogous
#7A2F70 #7A2F4B #7A382F
triadic
#7A2F4B #4B7A2F #2F4B7A
tetradic
#7A2F4B #707A2F #2F7A5E #382F7A
square
#7A2F4B #707A2F #2F7A5E #382F7A
split-complementary
#7A2F4B #2F7A38 #2F707A
monochromatic
#220D15 #4E1E30 #7A2F4B #A64066 #C26185

Accessibility & contrast

On white

8.99
#7A2F4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A2F4B
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2F4B#FFFFFF#000000##FFFFFF
##7A2F4B1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C404C
Deuteranopia (green-blind)
#504E49
Tritanopia (blue-blind)
#84283A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7a2f4b;
/* rgb */ color: rgb(122, 47, 75);
/* oklch */ color: oklch(42.0% 0.109 359.6);
Tailwind
colors: {
  custom: {
    50: '#a46b7d',
    500: '#7a2f4b',
    950: '#000000',
  },
}
SCSS
$custom: #7a2f4b;
$custom-light: #a46b7d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2f4b",
  "rgb": {
    "r": 122,
    "g": 47,
    "b": 75
  },
  "hsl": {
    "h": 337.6,
    "s": 44.379,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41987,
    "c": 0.10861,
    "h": 359.6
  },
  "luminance": 0.06679
}

Semantic roles & 50–950 ramp

primary
#7A2F4B
secondary
#5CA98C
accent
#D4A454
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100709
muted
#7F7A7B

Preview Lab

Preview with #7A2F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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