#7B2247#7B2247

#7B2247 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.4% C 0.127 H 359.1°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#7B2247
RGBrgb(123, 34, 71)
HSLhsl(335, 57%, 31%)
HSVhsv(335, 72%, 48%)
CMYKcmyk(0%, 72.4%, 42.3%, 51.8%)
CIE-LABlab(28.93, 41.41, -0.94)
CIE-LCHlch(28.93, 41.42, 358.69°)
OKLaboklab(40.39% 0.1269 -0.002)
OKLCHoklch(40.39% 0.127 359.1)
XYZxyz(9.8784, 5.8112, 6.5615)
Luminance0.0581 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2247 #227B56
analogous
#7B2273 #7B2247 #7B2922
triadic
#7B2247 #477B22 #22477B
tetradic
#7B2247 #737B22 #227B56 #29227B
square
#7B2247 #737B22 #227B56 #29227B
split-complementary
#7B2247 #227B29 #22737B
monochromatic
#1B0710 #4B152B #7B2247 #AB2F63 #CD4A81

Accessibility & contrast

On white

9.71
#7B2247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B2247
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2247#FFFFFF#000000##FFFFFF
##7B22471.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343948
Deuteranopia (green-blind)
#4C4A45
Tritanopia (blue-blind)
#851731
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b2247;
/* rgb */ color: rgb(123, 34, 71);
/* oklch */ color: oklch(40.4% 0.127 359.1);
Tailwind
colors: {
  custom: {
    50: '#a5647a',
    500: '#7b2247',
    950: '#000000',
  },
}
SCSS
$custom: #7b2247;
$custom-light: #a5647a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2247",
  "rgb": {
    "r": 123,
    "g": 34,
    "b": 71
  },
  "hsl": {
    "h": 335.056,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40395,
    "c": 0.12694,
    "h": 359.1
  },
  "luminance": 0.0581
}

Semantic roles & 50–950 ramp

primary
#7B2247
secondary
#4BAE85
accent
#E0A148
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7B2247

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

Preview Lab → · Contrast checker → · Palette generator →

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