#7B2547#7B2547

#7B2547 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.7% C 0.123 H 359.9°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#7B2547
RGBrgb(123, 37, 71)
HSLhsl(336, 54%, 31%)
HSVhsv(336, 70%, 48%)
CMYKcmyk(0%, 69.9%, 42.3%, 51.8%)
CIE-LABlab(29.39, 40.15, -0.27)
CIE-LCHlch(29.39, 40.15, 359.61°)
OKLaboklab(40.73% 0.1229 -0.0002)
OKLCHoklch(40.73% 0.123 359.9)
XYZxyz(9.9680, 5.9902, 6.5913)
Luminance0.0599 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2547 #257B59
analogous
#7B2572 #7B2547 #7B2E25
triadic
#7B2547 #477B25 #25477B
tetradic
#7B2547 #727B25 #257B59 #2E257B
square
#7B2547 #727B25 #257B59 #2E257B
split-complementary
#7B2547 #257B2E #25727B
monochromatic
#1D0911 #4C172C #7B2547 #AA3362 #CA5080

Accessibility & contrast

On white

9.56
#7B2547 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7B2547 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2547
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2547#FFFFFF#000000##FFFFFF
##7B25471.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363B48
Deuteranopia (green-blind)
#4D4B45
Tritanopia (blue-blind)
#851B33
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7b2547;
/* rgb */ color: rgb(123, 37, 71);
/* oklch */ color: oklch(40.7% 0.123 359.9);
Tailwind
colors: {
  custom: {
    50: '#a5667a',
    500: '#7b2547',
    950: '#000000',
  },
}
SCSS
$custom: #7b2547;
$custom-light: #a5667a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2547",
  "rgb": {
    "r": 123,
    "g": 37,
    "b": 71
  },
  "hsl": {
    "h": 336.279,
    "s": 53.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40732,
    "c": 0.12292,
    "h": 359.9
  },
  "luminance": 0.05989
}

Semantic roles & 50–950 ramp

primary
#7B2547
secondary
#4FAD88
accent
#DDA34B
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7B2547

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

Preview Lab → · Contrast checker → · Palette generator →

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