#7B2F56#7B2F56

#7B2F56 is a dark, moderate pink. Relative luminance 0.069; OKLCH L 42.6% C 0.115 H 351.2°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#7B2F56
RGBrgb(123, 47, 86)
HSLhsl(329, 45%, 33%)
HSVhsv(329, 62%, 48%)
CMYKcmyk(0%, 61.8%, 30.1%, 51.8%)
CIE-LABlab(31.62, 37.42, -6.81)
CIE-LCHlch(31.62, 38.03, 349.68°)
OKLaboklab(42.56% 0.1135 -0.0176)
OKLCHoklch(42.56% 0.115 351.2)
XYZxyz(10.8651, 6.9169, 9.5652)
Luminance0.0692 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2F56 #2F7B54
analogous
#7A2F7B #7B2F56 #7B2F30
triadic
#7B2F56 #567B2F #2F567B
tetradic
#7B2F56 #7B7A2F #2F7B54 #2F307B
square
#7B2F56 #7B7A2F #2F7B54 #2F307B
split-complementary
#7B2F56 #307B2F #2F7B7A
monochromatic
#220D18 #4F1E37 #7B2F56 #A74075 #C36293

Accessibility & contrast

On white

8.81
#7B2F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#7B2F56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2F56
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2F56#FFFFFF#000000##FFFFFF
##7B2F561.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394257
Deuteranopia (green-blind)
#4E4F54
Tritanopia (blue-blind)
#842B3E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7b2f56;
/* rgb */ color: rgb(123, 47, 86);
/* oklch */ color: oklch(42.6% 0.115 351.2);
Tailwind
colors: {
  custom: {
    50: '#a46c85',
    500: '#7b2f56',
    950: '#000000',
  },
}
SCSS
$custom: #7b2f56;
$custom-light: #a46c85;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2f56",
  "rgb": {
    "r": 123,
    "g": 47,
    "b": 86
  },
  "hsl": {
    "h": 329.211,
    "s": 44.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42555,
    "c": 0.1149,
    "h": 351.2
  },
  "luminance": 0.06916
}

Semantic roles & 50–950 ramp

primary
#7B2F56
secondary
#5CAA82
accent
#D49253
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10070B
muted
#7F7A7C

Preview Lab

Preview with #7B2F56

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

Preview Lab → · Contrast checker → · Palette generator →

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