#7B2F4D#7B2F4D

#7B2F4D is a dark, moderate pink. Relative luminance 0.068; OKLCH L 42.2% C 0.111 H 358.3°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#7B2F4D
RGBrgb(123, 47, 77)
HSLhsl(336, 45%, 33%)
HSVhsv(336, 62%, 48%)
CMYKcmyk(0%, 61.8%, 37.4%, 51.8%)
CIE-LABlab(31.30, 36.21, -1.42)
CIE-LCHlch(31.30, 36.24, 357.76°)
OKLaboklab(42.22% 0.1105 -0.0032)
OKLCHoklch(42.22% 0.111 358.3)
XYZxyz(10.5250, 6.7809, 7.7743)
Luminance0.0678 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2F4D #2F7B5D
analogous
#7B2F73 #7B2F4D #7B372F
triadic
#7B2F4D #4D7B2F #2F4D7B
tetradic
#7B2F4D #737B2F #2F7B5D #372F7B
square
#7B2F4D #737B2F #2F7B5D #372F7B
split-complementary
#7B2F4D #2F7B37 #2F737B
monochromatic
#220D16 #4F1E31 #7B2F4D #A74069 #C36288

Accessibility & contrast

On white

8.91
#7B2F4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7B2F4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2F4D
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2F4D#FFFFFF#000000##FFFFFF
##7B2F4D1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C414E
Deuteranopia (green-blind)
#504F4B
Tritanopia (blue-blind)
#85293B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7b2f4d;
/* rgb */ color: rgb(123, 47, 77);
/* oklch */ color: oklch(42.2% 0.111 358.3);
Tailwind
colors: {
  custom: {
    50: '#a46c7e',
    500: '#7b2f4d',
    950: '#000000',
  },
}
SCSS
$custom: #7b2f4d;
$custom-light: #a46c7e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2f4d",
  "rgb": {
    "r": 123,
    "g": 47,
    "b": 77
  },
  "hsl": {
    "h": 336.316,
    "s": 44.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42218,
    "c": 0.1105,
    "h": 358.3
  },
  "luminance": 0.0678
}

Semantic roles & 50–950 ramp

primary
#7B2F4D
secondary
#5CAA8B
accent
#D4A153
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7B2F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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