#7B1542#7B1542

#7B1542 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 39.0% C 0.140 H 360.0°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#7B1542
RGBrgb(123, 21, 66)
HSLhsl(334, 71%, 28%)
HSVhsv(334, 83%, 48%)
CMYKcmyk(0%, 82.9%, 46.3%, 51.8%)
CIE-LABlab(27.14, 45.47, -0.22)
CIE-LCHlch(27.14, 45.47, 359.72°)
OKLaboklab(39.02% 0.1398 -0.0001)
OKLCHoklch(39.02% 0.14 0)
XYZxyz(9.4207, 5.1419, 5.6496)
Luminance0.0514 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1542 #157B4E
analogous
#7B1575 #7B1542 #7B1B15
triadic
#7B1542 #427B15 #15427B
tetradic
#7B1542 #757B15 #157B4E #1B157B
square
#7B1542 #757B15 #157B4E #1B157B
split-complementary
#7B1542 #157B1B #15757B
monochromatic
#1A040E #470C26 #7B1542 #AF1E5E #DB2F7B

Accessibility & contrast

On white

10.35
#7B1542 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7B1542 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1542
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1542#FFFFFF#000000##FFFFFF
##7B15421.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3443
Deuteranopia (green-blind)
#494740
Tritanopia (blue-blind)
#86002A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7b1542;
/* rgb */ color: rgb(123, 21, 66);
/* oklch */ color: oklch(39.0% 0.140 360.0);
Tailwind
colors: {
  custom: {
    50: '#a65f76',
    500: '#7b1542',
    950: '#000000',
  },
}
SCSS
$custom: #7b1542;
$custom-light: #a65f76;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1542",
  "rgb": {
    "r": 123,
    "g": 21,
    "b": 66
  },
  "hsl": {
    "h": 333.529,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39021,
    "c": 0.13978,
    "h": 360
  },
  "luminance": 0.05141
}

Semantic roles & 50–950 ramp

primary
#7B1542
secondary
#3BB07D
accent
#EE9E3A
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100508
muted
#7F797B

Preview Lab

Preview with #7B1542

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

Preview Lab → · Contrast checker → · Palette generator →

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