#7B1540#7B1540

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

Color values

HEX#7B1540
RGBrgb(123, 21, 64)
HSLhsl(335, 71%, 28%)
HSVhsv(335, 83%, 48%)
CMYKcmyk(0%, 82.9%, 48%, 51.8%)
CIE-LABlab(27.07, 45.27, 1.03)
CIE-LCHlch(27.07, 45.28, 1.30°)
OKLaboklab(38.95% 0.1391 0.0031)
OKLCHoklch(38.95% 0.139 1.3)
XYZxyz(9.3627, 5.1187, 5.3445)
Luminance0.0512 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1540 #157B50
analogous
#7B1573 #7B1540 #7B1D15
triadic
#7B1540 #407B15 #15407B
tetradic
#7B1540 #737B15 #157B50 #1D157B
square
#7B1540 #737B15 #157B50 #1D157B
split-complementary
#7B1540 #157B1D #15737B
monochromatic
#1A040E #470C25 #7B1540 #AF1E5B #DB2F78

Accessibility & contrast

On white

10.38
#7B1540 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#7B1540 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1540
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1540#FFFFFF#000000##FFFFFF
##7B15401.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3341
Deuteranopia (green-blind)
#49473E
Tritanopia (blue-blind)
#860029
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7b1540;
/* rgb */ color: rgb(123, 21, 64);
/* oklch */ color: oklch(39.0% 0.139 1.3);
Tailwind
colors: {
  custom: {
    50: '#a65f74',
    500: '#7b1540',
    950: '#000000',
  },
}
SCSS
$custom: #7b1540;
$custom-light: #a65f74;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1540",
  "rgb": {
    "r": 123,
    "g": 21,
    "b": 64
  },
  "hsl": {
    "h": 334.706,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38952,
    "c": 0.1391,
    "h": 1.3
  },
  "luminance": 0.05117
}

Semantic roles & 50–950 ramp

primary
#7B1540
secondary
#3BB07F
accent
#EEA23A
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100508
muted
#7F797B

Preview Lab

Preview with #7B1540

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

Preview Lab → · Contrast checker → · Palette generator →

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