#7B2148#7B2148

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

Color values

HEX#7B2148
RGBrgb(123, 33, 72)
HSLhsl(334, 58%, 31%)
HSVhsv(334, 73%, 48%)
CMYKcmyk(0%, 73.2%, 41.5%, 51.8%)
CIE-LABlab(28.82, 41.93, -1.77)
CIE-LCHlch(28.82, 41.97, 357.58°)
OKLaboklab(40.32% 0.1286 -0.0041)
OKLCHoklch(40.32% 0.129 358.2)
XYZxyz(9.8826, 5.7678, 6.7225)
Luminance0.0577 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2148 #217B54
analogous
#7B2175 #7B2148 #7B2721
triadic
#7B2148 #487B21 #21487B
tetradic
#7B2148 #757B21 #217B54 #27217B
square
#7B2148 #757B21 #217B54 #27217B
split-complementary
#7B2148 #217B27 #21757B
monochromatic
#1A0710 #4B142C #7B2148 #AB2E64 #CE4882

Accessibility & contrast

On white

9.75
#7B2148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B2148
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2148#FFFFFF#000000##FFFFFF
##7B21481.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b2148;
/* rgb */ color: rgb(123, 33, 72);
/* oklch */ color: oklch(40.3% 0.129 358.2);
Tailwind
colors: {
  custom: {
    50: '#a5647a',
    500: '#7b2148',
    950: '#000000',
  },
}
SCSS
$custom: #7b2148;
$custom-light: #a5647a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2148",
  "rgb": {
    "r": 123,
    "g": 33,
    "b": 72
  },
  "hsl": {
    "h": 334,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40323,
    "c": 0.12863,
    "h": 358.2
  },
  "luminance": 0.05767
}

Semantic roles & 50–950 ramp

primary
#7B2148
secondary
#4AAE83
accent
#E19E47
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7B2148

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

Preview Lab → · Contrast checker → · Palette generator →

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