#7B2F4E#7B2F4E

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

Color values

HEX#7B2F4E
RGBrgb(123, 47, 78)
HSLhsl(336, 45%, 33%)
HSVhsv(336, 62%, 48%)
CMYKcmyk(0%, 61.8%, 36.6%, 51.8%)
CIE-LABlab(31.34, 36.34, -2.02)
CIE-LCHlch(31.34, 36.40, 356.82°)
OKLaboklab(42.25% 0.1108 -0.0048)
OKLCHoklch(42.25% 0.111 357.5)
XYZxyz(10.5606, 6.7952, 7.9617)
Luminance0.0679 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2F4E #2F7B5C
analogous
#7B2F74 #7B2F4E #7B362F
triadic
#7B2F4E #4E7B2F #2F4E7B
tetradic
#7B2F4E #747B2F #2F7B5C #362F7B
square
#7B2F4E #747B2F #2F7B5C #362F7B
split-complementary
#7B2F4E #2F7B36 #2F747B
monochromatic
#220D16 #4F1E32 #7B2F4E #A7406A #C36289

Accessibility & contrast

On white

8.90
#7B2F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B2F4E
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2F4E#FFFFFF#000000##FFFFFF
##7B2F4E1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b2f4e;
/* rgb */ color: rgb(123, 47, 78);
/* oklch */ color: oklch(42.3% 0.111 357.5);
Tailwind
colors: {
  custom: {
    50: '#a46c7f',
    500: '#7b2f4e',
    950: '#000000',
  },
}
SCSS
$custom: #7b2f4e;
$custom-light: #a46c7f;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2f4e",
  "rgb": {
    "r": 123,
    "g": 47,
    "b": 78
  },
  "hsl": {
    "h": 335.526,
    "s": 44.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42254,
    "c": 0.11092,
    "h": 357.5
  },
  "luminance": 0.06794
}

Semantic roles & 50–950 ramp

primary
#7B2F4E
secondary
#5CAA8A
accent
#D4A053
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7B2F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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