#7B2245#7B2245

#7B2245 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.3% C 0.126 H 0.6°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#7B2245
RGBrgb(123, 34, 69)
HSLhsl(336, 57%, 31%)
HSVhsv(336, 72%, 48%)
CMYKcmyk(0%, 72.4%, 43.9%, 51.8%)
CIE-LABlab(28.87, 41.19, 0.29)
CIE-LCHlch(28.87, 41.19, 0.40°)
OKLaboklab(40.33% 0.1262 0.0012)
OKLCHoklch(40.33% 0.126 0.6)
XYZxyz(9.8153, 5.7859, 6.2290)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2245 #227B58
analogous
#7B2271 #7B2245 #7B2B22
triadic
#7B2245 #457B22 #22457B
tetradic
#7B2245 #717B22 #227B58 #2B227B
square
#7B2245 #717B22 #227B58 #2B227B
split-complementary
#7B2245 #227B2B #22717B
monochromatic
#1B070F #4B152A #7B2245 #AB2F60 #CD4A7E

Accessibility & contrast

On white

9.74
#7B2245 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7B2245 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2245
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2245#FFFFFF#000000##FFFFFF
##7B22451.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b2245;
/* rgb */ color: rgb(123, 34, 69);
/* oklch */ color: oklch(40.3% 0.126 0.6);
Tailwind
colors: {
  custom: {
    50: '#a56478',
    500: '#7b2245',
    950: '#000000',
  },
}
SCSS
$custom: #7b2245;
$custom-light: #a56478;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2245",
  "rgb": {
    "r": 123,
    "g": 34,
    "b": 69
  },
  "hsl": {
    "h": 336.404,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40325,
    "c": 0.12621,
    "h": 0.6
  },
  "luminance": 0.05785
}

Semantic roles & 50–950 ramp

primary
#7B2245
secondary
#4BAE87
accent
#E0A448
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7B2245

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

Preview Lab → · Contrast checker → · Palette generator →

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