#7B1531#7B1531

#7B1531 is a dark, vivid pink. Relative luminance 0.050; OKLCH L 38.5% C 0.136 H 11.2°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#7B1531
RGBrgb(123, 21, 49)
HSLhsl(344, 71%, 28%)
HSVhsv(344, 83%, 48%)
CMYKcmyk(0%, 82.9%, 60.2%, 51.8%)
CIE-LABlab(26.65, 43.99, 10.61)
CIE-LCHlch(26.65, 45.25, 13.56°)
OKLaboklab(38.51% 0.1331 0.0265)
OKLCHoklch(38.51% 0.136 11.2)
XYZxyz(8.9918, 4.9704, 3.3910)
Luminance0.0497 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1531 #157B5F
analogous
#7B1564 #7B1531 #7B2C15
triadic
#7B1531 #317B15 #15317B
tetradic
#7B1531 #647B15 #157B5F #2C157B
square
#7B1531 #647B15 #157B5F #2C157B
split-complementary
#7B1531 #157B2C #15647B
monochromatic
#1A040A #470C1C #7B1531 #AF1E46 #DB2F5E

Accessibility & contrast

On white

10.53
#7B1531 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#7B1531 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1531
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1531#FFFFFF#000000##FFFFFF
##7B15311.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323231
Deuteranopia (green-blind)
#4C462E
Tritanopia (blue-blind)
#870021
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7b1531;
/* rgb */ color: rgb(123, 21, 49);
/* oklch */ color: oklch(38.5% 0.136 11.2);
Tailwind
colors: {
  custom: {
    50: '#a75e68',
    500: '#7b1531',
    950: '#000000',
  },
}
SCSS
$custom: #7b1531;
$custom-light: #a75e68;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1531",
  "rgb": {
    "r": 123,
    "g": 21,
    "b": 49
  },
  "hsl": {
    "h": 343.529,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38506,
    "c": 0.13571,
    "h": 11.2
  },
  "luminance": 0.04969
}

Semantic roles & 50–950 ramp

primary
#7B1531
secondary
#3BB090
accent
#EEBC3A
background
#FAF5F6
surface
#F5EAEB
border
#CFC6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7B1531

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

Preview Lab → · Contrast checker → · Palette generator →

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