#7B1547#7B1547

#7B1547 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.2% C 0.142 H 356.7°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#7B1547
RGBrgb(123, 21, 71)
HSLhsl(331, 71%, 28%)
HSVhsv(331, 83%, 48%)
CMYKcmyk(0%, 82.9%, 42.3%, 51.8%)
CIE-LABlab(27.31, 45.98, -3.34)
CIE-LCHlch(27.31, 46.10, 355.85°)
OKLaboklab(39.2% 0.1415 -0.0082)
OKLCHoklch(39.2% 0.142 356.7)
XYZxyz(9.5746, 5.2035, 6.4602)
Luminance0.0520 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1547 #157B49
analogous
#7B157A #7B1547 #7B1615
triadic
#7B1547 #477B15 #15477B
tetradic
#7B1547 #7A7B15 #157B49 #16157B
square
#7B1547 #7A7B15 #157B49 #16157B
split-complementary
#7B1547 #157B16 #157A7B
monochromatic
#1A040F #470C29 #7B1547 #AF1E65 #DB2F84

Accessibility & contrast

On white

10.29
#7B1547 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7B1547 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1547
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1547#FFFFFF#000000##FFFFFF
##7B15471.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3448
Deuteranopia (green-blind)
#484745
Tritanopia (blue-blind)
#86022C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7b1547;
/* rgb */ color: rgb(123, 21, 71);
/* oklch */ color: oklch(39.2% 0.142 356.7);
Tailwind
colors: {
  custom: {
    50: '#a65f7a',
    500: '#7b1547',
    950: '#000000',
  },
}
SCSS
$custom: #7b1547;
$custom-light: #a65f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1547",
  "rgb": {
    "r": 123,
    "g": 21,
    "b": 71
  },
  "hsl": {
    "h": 330.588,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39202,
    "c": 0.14172,
    "h": 356.7
  },
  "luminance": 0.05202
}

Semantic roles & 50–950 ramp

primary
#7B1547
secondary
#3BB077
accent
#EE963A
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100509
muted
#7F797B

Preview Lab

Preview with #7B1547

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

Preview Lab → · Contrast checker → · Palette generator →

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