#7B1835#7B1835

#7B1835 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.9% C 0.134 H 9.3°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#7B1835
RGBrgb(123, 24, 53)
HSLhsl(342, 67%, 29%)
HSVhsv(342, 80%, 48%)
CMYKcmyk(0%, 80.5%, 56.9%, 51.8%)
CIE-LABlab(27.08, 43.36, 8.49)
CIE-LCHlch(27.08, 44.19, 11.08°)
OKLaboklab(38.86% 0.1318 0.0215)
OKLCHoklch(38.86% 0.134 9.3)
XYZxyz(9.1385, 5.1226, 3.8750)
Luminance0.0512 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1835 #187B5E
analogous
#7B1867 #7B1835 #7B2D18
triadic
#7B1835 #357B18 #18357B
tetradic
#7B1835 #677B18 #187B5E #2D187B
square
#7B1835 #677B18 #187B5E #2D187B
split-complementary
#7B1835 #187B2D #18677B
monochromatic
#1A050B #480E1F #7B1835 #AE224B #D83665

Accessibility & contrast

On white

10.37
#7B1835 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#7B1835 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1835
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1835#FFFFFF#000000##FFFFFF
##7B18351.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323336
Deuteranopia (green-blind)
#4C4733
Tritanopia (blue-blind)
#870025
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7b1835;
/* rgb */ color: rgb(123, 24, 53);
/* oklch */ color: oklch(38.9% 0.134 9.3);
Tailwind
colors: {
  custom: {
    50: '#a7606b',
    500: '#7b1835',
    950: '#000000',
  },
}
SCSS
$custom: #7b1835;
$custom-light: #a7606b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1835",
  "rgb": {
    "r": 123,
    "g": 24,
    "b": 53
  },
  "hsl": {
    "h": 342.424,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38857,
    "c": 0.1335,
    "h": 9.3
  },
  "luminance": 0.05121
}

Semantic roles & 50–950 ramp

primary
#7B1835
secondary
#3FB08F
accent
#EAB83E
background
#FAF5F6
surface
#F4EAEB
border
#CEC6C6
text
#100506
muted
#7F797A

Preview Lab

Preview with #7B1835

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

Preview Lab → · Contrast checker → · Palette generator →

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