#7B1937#7B1937

#7B1937 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.0% C 0.133 H 8.2°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#7B1937
RGBrgb(123, 25, 55)
HSLhsl(342, 66%, 29%)
HSVhsv(342, 80%, 48%)
CMYKcmyk(0%, 79.7%, 55.3%, 51.8%)
CIE-LABlab(27.25, 43.20, 7.38)
CIE-LCHlch(27.25, 43.82, 9.69°)
OKLaboklab(39% 0.1315 0.0189)
OKLCHoklch(39% 0.133 8.2)
XYZxyz(9.2065, 5.1834, 4.1294)
Luminance0.0518 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1937 #197B5D
analogous
#7B1968 #7B1937 #7B2C19
triadic
#7B1937 #377B19 #19377B
tetradic
#7B1937 #687B19 #197B5D #2C197B
square
#7B1937 #687B19 #197B5D #2C197B
split-complementary
#7B1937 #197B2C #19687B
monochromatic
#19050B #480F20 #7B1937 #AE234E #D73868

Accessibility & contrast

On white

10.31
#7B1937 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7B1937 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1937
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1937#FFFFFF#000000##FFFFFF
##7B19371.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333438
Deuteranopia (green-blind)
#4C4735
Tritanopia (blue-blind)
#870026
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7b1937;
/* rgb */ color: rgb(123, 25, 55);
/* oklch */ color: oklch(39.0% 0.133 8.2);
Tailwind
colors: {
  custom: {
    50: '#a7606d',
    500: '#7b1937',
    950: '#000000',
  },
}
SCSS
$custom: #7b1937;
$custom-light: #a7606d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1937",
  "rgb": {
    "r": 123,
    "g": 25,
    "b": 55
  },
  "hsl": {
    "h": 341.633,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38999,
    "c": 0.13286,
    "h": 8.2
  },
  "luminance": 0.05182
}

Semantic roles & 50–950 ramp

primary
#7B1937
secondary
#40AF8D
accent
#E9B53F
background
#FAF5F6
surface
#F4EAEB
border
#CEC6C6
text
#100507
muted
#7F797A

Preview Lab

Preview with #7B1937

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

Preview Lab → · Contrast checker → · Palette generator →

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