#7B2F52#7B2F52

#7B2F52 is a dark, moderate pink. Relative luminance 0.069; OKLCH L 42.4% C 0.113 H 354.3°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#7B2F52
RGBrgb(123, 47, 82)
HSLhsl(332, 45%, 33%)
HSVhsv(332, 62%, 48%)
CMYKcmyk(0%, 61.8%, 33.3%, 51.8%)
CIE-LABlab(31.47, 36.87, -4.42)
CIE-LCHlch(31.47, 37.13, 353.16°)
OKLaboklab(42.4% 0.1122 -0.0112)
OKLCHoklch(42.4% 0.113 354.3)
XYZxyz(10.7084, 6.8543, 8.7401)
Luminance0.0685 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2F52 #2F7B58
analogous
#7B2F78 #7B2F52 #7B322F
triadic
#7B2F52 #527B2F #2F527B
tetradic
#7B2F52 #787B2F #2F7B58 #322F7B
square
#7B2F52 #787B2F #2F7B58 #322F7B
split-complementary
#7B2F52 #2F7B32 #2F787B
monochromatic
#220D17 #4F1E34 #7B2F52 #A74070 #C3628E

Accessibility & contrast

On white

8.86
#7B2F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#7B2F52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2F52
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2F52#FFFFFF#000000##FFFFFF
##7B2F521.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4153
Deuteranopia (green-blind)
#4F4F50
Tritanopia (blue-blind)
#842A3D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7b2f52;
/* rgb */ color: rgb(123, 47, 82);
/* oklch */ color: oklch(42.4% 0.113 354.3);
Tailwind
colors: {
  custom: {
    50: '#a46c82',
    500: '#7b2f52',
    950: '#000000',
  },
}
SCSS
$custom: #7b2f52;
$custom-light: #a46c82;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2f52",
  "rgb": {
    "r": 123,
    "g": 47,
    "b": 82
  },
  "hsl": {
    "h": 332.368,
    "s": 44.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42401,
    "c": 0.11278,
    "h": 354.3
  },
  "luminance": 0.06853
}

Semantic roles & 50–950 ramp

primary
#7B2F52
secondary
#5CAA86
accent
#D49953
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7B2F52

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

Preview Lab → · Contrast checker → · Palette generator →

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