#7B2A4E#7B2A4E

#7B2A4E is a dark, moderate pink. Relative luminance 0.064; OKLCH L 41.6% C 0.119 H 356.0°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#7B2A4E
RGBrgb(123, 42, 78)
HSLhsl(333, 49%, 32%)
HSVhsv(333, 66%, 48%)
CMYKcmyk(0%, 65.9%, 36.6%, 51.8%)
CIE-LABlab(30.44, 38.75, -3.34)
CIE-LCHlch(30.44, 38.89, 355.08°)
OKLaboklab(41.59% 0.1183 -0.0083)
OKLCHoklch(41.59% 0.119 356)
XYZxyz(10.3721, 6.4181, 7.8988)
Luminance0.0642 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2A4E #2A7B57
analogous
#7B2A77 #7B2A4E #7B2E2A
triadic
#7B2A4E #4E7B2A #2A4E7B
tetradic
#7B2A4E #777B2A #2A7B57 #2E2A7B
square
#7B2A4E #777B2A #2A7B57 #2E2A7B
split-complementary
#7B2A4E #2A7B2E #2A777B
monochromatic
#200B14 #4D1A31 #7B2A4E #A93A6B #C6598A

Accessibility & contrast

On white

9.20
#7B2A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7B2A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2A4E
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2A4E#FFFFFF#000000##FFFFFF
##7B2A4E1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383E4F
Deuteranopia (green-blind)
#4E4D4C
Tritanopia (blue-blind)
#852438
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7b2a4e;
/* rgb */ color: rgb(123, 42, 78);
/* oklch */ color: oklch(41.6% 0.119 356.0);
Tailwind
colors: {
  custom: {
    50: '#a5697f',
    500: '#7b2a4e',
    950: '#000000',
  },
}
SCSS
$custom: #7b2a4e;
$custom-light: #a5697f;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2a4e",
  "rgb": {
    "r": 123,
    "g": 42,
    "b": 78
  },
  "hsl": {
    "h": 333.333,
    "s": 49.091,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41591,
    "c": 0.11862,
    "h": 356
  },
  "luminance": 0.06417
}

Semantic roles & 50–950 ramp

primary
#7B2A4E
secondary
#55AC85
accent
#D99C4F
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7B2A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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