#7B2E4D#7B2E4D

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

Color values

HEX#7B2E4D
RGBrgb(123, 46, 77)
HSLhsl(336, 46%, 33%)
HSVhsv(336, 63%, 48%)
CMYKcmyk(0%, 62.6%, 37.4%, 51.8%)
CIE-LABlab(31.12, 36.71, -1.69)
CIE-LCHlch(31.12, 36.74, 357.37°)
OKLaboklab(42.08% 0.112 -0.004)
OKLCHoklch(42.08% 0.112 358)
XYZxyz(10.4855, 6.7019, 7.7611)
Luminance0.0670 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2E4D #2E7B5C
analogous
#7B2E73 #7B2E4D #7B352E
triadic
#7B2E4D #4D7B2E #2E4D7B
tetradic
#7B2E4D #737B2E #2E7B5C #352E7B
square
#7B2E4D #737B2E #2E7B5C #352E7B
split-complementary
#7B2E4D #2E7B35 #2E737B
monochromatic
#220D15 #4E1D31 #7B2E4D #A83F69 #C36088

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B2E4D#FFFFFF#000000##FFFFFF
##7B2E4D1.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)
#504F4B
Tritanopia (blue-blind)
#85283A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7b2e4d;
/* rgb */ color: rgb(123, 46, 77);
/* oklch */ color: oklch(42.1% 0.112 358.0);
Tailwind
colors: {
  custom: {
    50: '#a46b7e',
    500: '#7b2e4d',
    950: '#000000',
  },
}
SCSS
$custom: #7b2e4d;
$custom-light: #a46b7e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2e4d",
  "rgb": {
    "r": 123,
    "g": 46,
    "b": 77
  },
  "hsl": {
    "h": 335.844,
    "s": 45.562,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42081,
    "c": 0.11206,
    "h": 358
  },
  "luminance": 0.06701
}

Semantic roles & 50–950 ramp

primary
#7B2E4D
secondary
#5BAA8A
accent
#D5A153
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7B2E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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