#7B1538#7B1538

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

Color values

HEX#7B1538
RGBrgb(123, 21, 56)
HSLhsl(339, 71%, 28%)
HSVhsv(339, 83%, 48%)
CMYKcmyk(0%, 82.9%, 54.5%, 51.8%)
CIE-LABlab(26.83, 44.55, 6.11)
CIE-LCHlch(26.83, 44.96, 7.81°)
OKLaboklab(38.7% 0.136 0.0158)
OKLCHoklch(38.7% 0.137 6.6)
XYZxyz(9.1512, 5.0341, 4.2304)
Luminance0.0503 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1538 #157B58
analogous
#7B156B #7B1538 #7B2515
triadic
#7B1538 #387B15 #15387B
tetradic
#7B1538 #6B7B15 #157B58 #25157B
square
#7B1538 #6B7B15 #157B58 #25157B
split-complementary
#7B1538 #157B25 #156B7B
monochromatic
#1A040C #470C20 #7B1538 #AF1E50 #DB2F6A

Accessibility & contrast

On white

10.47
#7B1538 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1538
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1538#FFFFFF#000000##FFFFFF
##7B15381.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303339
Deuteranopia (green-blind)
#4B4736
Tritanopia (blue-blind)
#870025
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7b1538;
/* rgb */ color: rgb(123, 21, 56);
/* oklch */ color: oklch(38.7% 0.137 6.6);
Tailwind
colors: {
  custom: {
    50: '#a75f6e',
    500: '#7b1538',
    950: '#000000',
  },
}
SCSS
$custom: #7b1538;
$custom-light: #a75f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1538",
  "rgb": {
    "r": 123,
    "g": 21,
    "b": 56
  },
  "hsl": {
    "h": 339.412,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38699,
    "c": 0.1369,
    "h": 6.6
  },
  "luminance": 0.05033
}

Semantic roles & 50–950 ramp

primary
#7B1538
secondary
#3BB088
accent
#EEB03A
background
#FAF5F6
surface
#F4EAEB
border
#CEC6C6
text
#100507
muted
#7F797A

Preview Lab

Preview with #7B1538

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

Preview Lab → · Contrast checker → · Palette generator →

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