#7B2E52#7B2E52

#7B2E52 is a dark, moderate pink. Relative luminance 0.068; OKLCH L 42.3% C 0.114 H 354.0°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#7B2E52
RGBrgb(123, 46, 82)
HSLhsl(332, 46%, 33%)
HSVhsv(332, 63%, 48%)
CMYKcmyk(0%, 62.6%, 33.3%, 51.8%)
CIE-LABlab(31.29, 37.36, -4.70)
CIE-LCHlch(31.29, 37.65, 352.83°)
OKLaboklab(42.27% 0.1137 -0.0119)
OKLCHoklch(42.27% 0.114 354)
XYZxyz(10.6689, 6.7752, 8.7269)
Luminance0.0677 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2E52 #2E7B57
analogous
#7B2E78 #7B2E52 #7B302E
triadic
#7B2E52 #527B2E #2E527B
tetradic
#7B2E52 #787B2E #2E7B57 #302E7B
square
#7B2E52 #787B2E #2E7B57 #302E7B
split-complementary
#7B2E52 #2E7B30 #2E787B
monochromatic
#220D17 #4E1D34 #7B2E52 #A83F70 #C3608E

Accessibility & contrast

On white

8.92
#7B2E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7B2E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2E52
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2E52#FFFFFF#000000##FFFFFF
##7B2E521.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4153
Deuteranopia (green-blind)
#4E4F50
Tritanopia (blue-blind)
#84293C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7b2e52;
/* rgb */ color: rgb(123, 46, 82);
/* oklch */ color: oklch(42.3% 0.114 354.0);
Tailwind
colors: {
  custom: {
    50: '#a46b82',
    500: '#7b2e52',
    950: '#000000',
  },
}
SCSS
$custom: #7b2e52;
$custom-light: #a46b82;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2e52",
  "rgb": {
    "r": 123,
    "g": 46,
    "b": 82
  },
  "hsl": {
    "h": 331.948,
    "s": 45.562,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42265,
    "c": 0.11436,
    "h": 354
  },
  "luminance": 0.06774
}

Semantic roles & 50–950 ramp

primary
#7B2E52
secondary
#5BAA85
accent
#D59853
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7B2E52

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

Preview Lab → · Contrast checker → · Palette generator →

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