#7B2940#7B2940

#7B2940 is a dark, moderate pink. Relative luminance 0.062; OKLCH L 41.0% C 0.115 H 6.6°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#7B2940
RGBrgb(123, 41, 64)
HSLhsl(343, 50%, 32%)
HSVhsv(343, 67%, 48%)
CMYKcmyk(0%, 66.7%, 48%, 51.8%)
CIE-LABlab(29.83, 37.60, 5.00)
CIE-LCHlch(29.83, 37.93, 7.58°)
OKLaboklab(40.99% 0.1145 0.0132)
OKLCHoklch(40.99% 0.115 6.6)
XYZxyz(9.8875, 6.1682, 5.5194)
Luminance0.0617 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2940 #297B64
analogous
#7B2969 #7B2940 #7B3B29
triadic
#7B2940 #407B29 #29407B
tetradic
#7B2940 #697B29 #297B64 #3B297B
square
#7B2940 #697B29 #297B64 #3B297B
split-complementary
#7B2940 #297B3B #29697B
monochromatic
#1F0A10 #4D1A28 #7B2940 #A93858 #C75777

Accessibility & contrast

On white

9.40
#7B2940 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7B2940 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2940
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2940#FFFFFF#000000##FFFFFF
##7B29401.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b2940;
/* rgb */ color: rgb(123, 41, 64);
/* oklch */ color: oklch(41.0% 0.115 6.6);
Tailwind
colors: {
  custom: {
    50: '#a56874',
    500: '#7b2940',
    950: '#000000',
  },
}
SCSS
$custom: #7b2940;
$custom-light: #a56874;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2940",
  "rgb": {
    "r": 123,
    "g": 41,
    "b": 64
  },
  "hsl": {
    "h": 343.171,
    "s": 50,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40993,
    "c": 0.11529,
    "h": 6.6
  },
  "luminance": 0.06167
}

Semantic roles & 50–950 ramp

primary
#7B2940
secondary
#53AC93
accent
#DAB24E
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7B2940

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

Preview Lab → · Contrast checker → · Palette generator →

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