#7B2047#7B2047

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

Color values

HEX#7B2047
RGBrgb(123, 32, 71)
HSLhsl(334, 59%, 30%)
HSVhsv(334, 74%, 48%)
CMYKcmyk(0%, 74%, 42.3%, 51.8%)
CIE-LABlab(28.64, 42.21, -1.37)
CIE-LCHlch(28.64, 42.24, 358.15°)
OKLaboklab(40.18% 0.1295 -0.0031)
OKLCHoklch(40.18% 0.13 358.6)
XYZxyz(9.8229, 5.7001, 6.5430)
Luminance0.0570 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2047 #207B54
analogous
#7B2074 #7B2047 #7B2720
triadic
#7B2047 #477B20 #20477B
tetradic
#7B2047 #747B20 #207B54 #27207B
square
#7B2047 #747B20 #207B54 #27207B
split-complementary
#7B2047 #207B27 #20747B
monochromatic
#1A070F #4A132B #7B2047 #AC2D63 #CF4681

Accessibility & contrast

On white

9.81
#7B2047 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B2047
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2047#FFFFFF#000000##FFFFFF
##7B20471.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323948
Deuteranopia (green-blind)
#4B4A45
Tritanopia (blue-blind)
#851430
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b2047;
/* rgb */ color: rgb(123, 32, 71);
/* oklch */ color: oklch(40.2% 0.130 358.6);
Tailwind
colors: {
  custom: {
    50: '#a5647a',
    500: '#7b2047',
    950: '#000000',
  },
}
SCSS
$custom: #7b2047;
$custom-light: #a5647a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2047",
  "rgb": {
    "r": 123,
    "g": 32,
    "b": 71
  },
  "hsl": {
    "h": 334.286,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40182,
    "c": 0.12951,
    "h": 358.6
  },
  "luminance": 0.05699
}

Semantic roles & 50–950 ramp

primary
#7B2047
secondary
#49AE83
accent
#E29F46
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7B2047

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

Preview Lab → · Contrast checker → · Palette generator →

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