#7B2840#7B2840

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

Color values

HEX#7B2840
RGBrgb(123, 40, 64)
HSLhsl(343, 51%, 32%)
HSVhsv(343, 67%, 48%)
CMYKcmyk(0%, 67.5%, 48%, 51.8%)
CIE-LABlab(29.66, 38.06, 4.76)
CIE-LCHlch(29.66, 38.36, 7.13°)
OKLaboklab(40.87% 0.116 0.0126)
OKLCHoklch(40.87% 0.117 6.2)
XYZxyz(9.8533, 6.0999, 5.5080)
Luminance0.0610 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2840 #287B63
analogous
#7B286A #7B2840 #7B3A28
triadic
#7B2840 #407B28 #28407B
tetradic
#7B2840 #6A7B28 #287B63 #3A287B
square
#7B2840 #6A7B28 #287B63 #3A287B
split-complementary
#7B2840 #287B3A #286A7B
monochromatic
#1F0A10 #4D1928 #7B2840 #A93758 #C85677

Accessibility & contrast

On white

9.46
#7B2840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B2840
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2840#FFFFFF#000000##FFFFFF
##7B28401.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3B41
Deuteranopia (green-blind)
#504C3E
Tritanopia (blue-blind)
#861C31
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7b2840;
/* rgb */ color: rgb(123, 40, 64);
/* oklch */ color: oklch(40.9% 0.117 6.2);
Tailwind
colors: {
  custom: {
    50: '#a56774',
    500: '#7b2840',
    950: '#000000',
  },
}
SCSS
$custom: #7b2840;
$custom-light: #a56774;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2840",
  "rgb": {
    "r": 123,
    "g": 40,
    "b": 64
  },
  "hsl": {
    "h": 342.651,
    "s": 50.92,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40867,
    "c": 0.11667,
    "h": 6.2
  },
  "luminance": 0.06099
}

Semantic roles & 50–950 ramp

primary
#7B2840
secondary
#52AD93
accent
#DAB24D
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7B2840

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

Preview Lab → · Contrast checker → · Palette generator →

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