#7B2145#7B2145

#7B2145 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.2% C 0.127 H 0.3°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#7B2145
RGBrgb(123, 33, 69)
HSLhsl(336, 58%, 31%)
HSVhsv(336, 73%, 48%)
CMYKcmyk(0%, 73.2%, 43.9%, 51.8%)
CIE-LABlab(28.72, 41.60, 0.08)
CIE-LCHlch(28.72, 41.60, 0.11°)
OKLaboklab(40.22% 0.1275 0.0007)
OKLCHoklch(40.22% 0.127 0.3)
XYZxyz(9.7871, 5.7296, 6.2196)
Luminance0.0573 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2145 #217B57
analogous
#7B2172 #7B2145 #7B2A21
triadic
#7B2145 #457B21 #21457B
tetradic
#7B2145 #727B21 #217B57 #2A217B
square
#7B2145 #727B21 #217B57 #2A217B
split-complementary
#7B2145 #217B2A #21727B
monochromatic
#1A070F #4B142A #7B2145 #AB2E60 #CE487E

Accessibility & contrast

On white

9.79
#7B2145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7B2145 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2145
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2145#FFFFFF#000000##FFFFFF
##7B21451.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343946
Deuteranopia (green-blind)
#4C4A43
Tritanopia (blue-blind)
#861530
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b2145;
/* rgb */ color: rgb(123, 33, 69);
/* oklch */ color: oklch(40.2% 0.127 0.3);
Tailwind
colors: {
  custom: {
    50: '#a56478',
    500: '#7b2145',
    950: '#000000',
  },
}
SCSS
$custom: #7b2145;
$custom-light: #a56478;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2145",
  "rgb": {
    "r": 123,
    "g": 33,
    "b": 69
  },
  "hsl": {
    "h": 336,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40217,
    "c": 0.12749,
    "h": 0.3
  },
  "luminance": 0.05728
}

Semantic roles & 50–950 ramp

primary
#7B2145
secondary
#4AAE86
accent
#E1A347
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7B2145

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

Preview Lab → · Contrast checker → · Palette generator →

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