#7B2045#7B2045

#7B2045 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.1% C 0.129 H 0.1°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#7B2045
RGBrgb(123, 32, 69)
HSLhsl(336, 59%, 30%)
HSVhsv(336, 74%, 48%)
CMYKcmyk(0%, 74%, 43.9%, 51.8%)
CIE-LABlab(28.58, 42.00, -0.13)
CIE-LCHlch(28.58, 42.00, 359.82°)
OKLaboklab(40.11% 0.1288 0.0001)
OKLCHoklch(40.11% 0.129 0.1)
XYZxyz(9.7598, 5.6749, 6.2105)
Luminance0.0567 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2045 #207B56
analogous
#7B2073 #7B2045 #7B2820
triadic
#7B2045 #457B20 #20457B
tetradic
#7B2045 #737B20 #207B56 #28207B
square
#7B2045 #737B20 #207B56 #28207B
split-complementary
#7B2045 #207B28 #20737B
monochromatic
#1A070F #4A132A #7B2045 #AC2D60 #CF467E

Accessibility & contrast

On white

9.84
#7B2045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7B2045 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2045
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2045#FFFFFF#000000##FFFFFF
##7B20451.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333846
Deuteranopia (green-blind)
#4C4A43
Tritanopia (blue-blind)
#861330
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b2045;
/* rgb */ color: rgb(123, 32, 69);
/* oklch */ color: oklch(40.1% 0.129 0.1);
Tailwind
colors: {
  custom: {
    50: '#a56378',
    500: '#7b2045',
    950: '#000000',
  },
}
SCSS
$custom: #7b2045;
$custom-light: #a56378;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2045",
  "rgb": {
    "r": 123,
    "g": 32,
    "b": 69
  },
  "hsl": {
    "h": 335.604,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40112,
    "c": 0.12875,
    "h": 0.1
  },
  "luminance": 0.05674
}

Semantic roles & 50–950 ramp

primary
#7B2045
secondary
#49AE85
accent
#E2A246
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7B2045

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

Preview Lab → · Contrast checker → · Palette generator →

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