#7B2841#7B2841

#7B2841 is a dark, moderate pink. Relative luminance 0.061; OKLCH L 40.9% C 0.117 H 5.4°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#7B2841
RGBrgb(123, 40, 65)
HSLhsl(342, 51%, 32%)
HSVhsv(342, 67%, 48%)
CMYKcmyk(0%, 67.5%, 47.2%, 51.8%)
CIE-LABlab(29.69, 38.16, 4.14)
CIE-LCHlch(29.69, 38.39, 6.19°)
OKLaboklab(40.9% 0.1164 0.011)
OKLCHoklch(40.9% 0.117 5.4)
XYZxyz(9.8820, 6.1114, 5.6592)
Luminance0.0611 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2841 #287B62
analogous
#7B286B #7B2841 #7B3928
triadic
#7B2841 #417B28 #28417B
tetradic
#7B2841 #6B7B28 #287B62 #39287B
square
#7B2841 #6B7B28 #287B62 #39287B
split-complementary
#7B2841 #287B39 #286B7B
monochromatic
#1F0A10 #4D1929 #7B2841 #A93759 #C85678

Accessibility & contrast

On white

9.45
#7B2841 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7B2841 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2841
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2841#FFFFFF#000000##FFFFFF
##7B28411.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3C42
Deuteranopia (green-blind)
#4F4C3F
Tritanopia (blue-blind)
#861D32
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7b2841;
/* rgb */ color: rgb(123, 40, 65);
/* oklch */ color: oklch(40.9% 0.117 5.4);
Tailwind
colors: {
  custom: {
    50: '#a56775',
    500: '#7b2841',
    950: '#000000',
  },
}
SCSS
$custom: #7b2841;
$custom-light: #a56775;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2841",
  "rgb": {
    "r": 123,
    "g": 40,
    "b": 65
  },
  "hsl": {
    "h": 341.928,
    "s": 50.92,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40898,
    "c": 0.11691,
    "h": 5.4
  },
  "luminance": 0.0611
}

Semantic roles & 50–950 ramp

primary
#7B2841
secondary
#52AD91
accent
#DAB04D
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7B2841

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

Preview Lab → · Contrast checker → · Palette generator →

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