#7B2048#7B2048

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

Color values

HEX#7B2048
RGBrgb(123, 32, 72)
HSLhsl(334, 59%, 30%)
HSVhsv(334, 74%, 48%)
CMYKcmyk(0%, 74%, 41.5%, 51.8%)
CIE-LABlab(28.68, 42.33, -1.98)
CIE-LCHlch(28.68, 42.37, 357.32°)
OKLaboklab(40.22% 0.1298 -0.0047)
OKLCHoklch(40.22% 0.13 357.9)
XYZxyz(9.8553, 5.7131, 6.7134)
Luminance0.0571 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2048 #207B53
analogous
#7B2076 #7B2048 #7B2520
triadic
#7B2048 #487B20 #20487B
tetradic
#7B2048 #767B20 #207B53 #25207B
square
#7B2048 #767B20 #207B53 #25207B
split-complementary
#7B2048 #207B25 #20767B
monochromatic
#1A070F #4A132C #7B2048 #AC2D64 #CF4682

Accessibility & contrast

On white

9.80
#7B2048 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7B2048 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2048
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2048#FFFFFF#000000##FFFFFF
##7B20481.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323949
Deuteranopia (green-blind)
#4B4A46
Tritanopia (blue-blind)
#851531
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b2048;
/* rgb */ color: rgb(123, 32, 72);
/* oklch */ color: oklch(40.2% 0.130 357.9);
Tailwind
colors: {
  custom: {
    50: '#a5647a',
    500: '#7b2048',
    950: '#000000',
  },
}
SCSS
$custom: #7b2048;
$custom-light: #a5647a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2048",
  "rgb": {
    "r": 123,
    "g": 32,
    "b": 72
  },
  "hsl": {
    "h": 333.626,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40218,
    "c": 0.1299,
    "h": 357.9
  },
  "luminance": 0.05712
}

Semantic roles & 50–950 ramp

primary
#7B2048
secondary
#49AE82
accent
#E29D46
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7B2048

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

Preview Lab → · Contrast checker → · Palette generator →

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