#7B1537#7B1537

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

Color values

HEX#7B1537
RGBrgb(123, 21, 55)
HSLhsl(340, 71%, 28%)
HSVhsv(340, 83%, 48%)
CMYKcmyk(0%, 82.9%, 55.3%, 51.8%)
CIE-LABlab(26.80, 44.46, 6.75)
CIE-LCHlch(26.80, 44.97, 8.63°)
OKLaboklab(38.67% 0.1356 0.0174)
OKLCHoklch(38.67% 0.137 7.3)
XYZxyz(9.1270, 5.0244, 4.1029)
Luminance0.0502 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1537 #157B59
analogous
#7B156A #7B1537 #7B2615
triadic
#7B1537 #377B15 #15377B
tetradic
#7B1537 #6A7B15 #157B59 #26157B
square
#7B1537 #6A7B15 #157B59 #26157B
split-complementary
#7B1537 #157B26 #156A7B
monochromatic
#1A040C #470C20 #7B1537 #AF1E4E #DB2F68

Accessibility & contrast

On white

10.48
#7B1537 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#7B1537 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1537
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1537#FFFFFF#000000##FFFFFF
##7B15371.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313238
Deuteranopia (green-blind)
#4B4735
Tritanopia (blue-blind)
#870024
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7b1537;
/* rgb */ color: rgb(123, 21, 55);
/* oklch */ color: oklch(38.7% 0.137 7.3);
Tailwind
colors: {
  custom: {
    50: '#a75f6d',
    500: '#7b1537',
    950: '#000000',
  },
}
SCSS
$custom: #7b1537;
$custom-light: #a75f6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1537",
  "rgb": {
    "r": 123,
    "g": 21,
    "b": 55
  },
  "hsl": {
    "h": 340,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3867,
    "c": 0.1367,
    "h": 7.3
  },
  "luminance": 0.05023
}

Semantic roles & 50–950 ramp

primary
#7B1537
secondary
#3BB089
accent
#EEB23A
background
#FAF5F6
surface
#F4EAEB
border
#CEC6C6
text
#100507
muted
#7F797A

Preview Lab

Preview with #7B1537

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

Preview Lab → · Contrast checker → · Palette generator →

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