#7B1539#7B1539

#7B1539 is a dark, vivid pink. Relative luminance 0.050; OKLCH L 38.7% C 0.137 H 6.0°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#7B1539
RGBrgb(123, 21, 57)
HSLhsl(339, 71%, 28%)
HSVhsv(339, 83%, 48%)
CMYKcmyk(0%, 82.9%, 53.7%, 51.8%)
CIE-LABlab(26.86, 44.63, 5.47)
CIE-LCHlch(26.86, 44.97, 6.99°)
OKLaboklab(38.73% 0.1364 0.0143)
OKLCHoklch(38.73% 0.137 6)
XYZxyz(9.1759, 5.0440, 4.3605)
Luminance0.0504 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1539 #157B57
analogous
#7B156C #7B1539 #7B2415
triadic
#7B1539 #397B15 #15397B
tetradic
#7B1539 #6C7B15 #157B57 #24157B
square
#7B1539 #6C7B15 #157B57 #24157B
split-complementary
#7B1539 #157B24 #156C7B
monochromatic
#1A040C #470C21 #7B1539 #AF1E51 #DB2F6C

Accessibility & contrast

On white

10.46
#7B1539 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#7B1539 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1539
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1539#FFFFFF#000000##FFFFFF
##7B15391.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30333A
Deuteranopia (green-blind)
#4B4737
Tritanopia (blue-blind)
#870025
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7b1539;
/* rgb */ color: rgb(123, 21, 57);
/* oklch */ color: oklch(38.7% 0.137 6.0);
Tailwind
colors: {
  custom: {
    50: '#a75f6f',
    500: '#7b1539',
    950: '#000000',
  },
}
SCSS
$custom: #7b1539;
$custom-light: #a75f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1539",
  "rgb": {
    "r": 123,
    "g": 21,
    "b": 57
  },
  "hsl": {
    "h": 338.824,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38729,
    "c": 0.13713,
    "h": 6
  },
  "luminance": 0.05043
}

Semantic roles & 50–950 ramp

primary
#7B1539
secondary
#3BB087
accent
#EEAE3A
background
#FAF5F6
surface
#F4EAEC
border
#CEC6C7
text
#100507
muted
#7F797A

Preview Lab

Preview with #7B1539

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

Preview Lab → · Contrast checker → · Palette generator →

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