#7B2140#7B2140

#7B2140 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.1% C 0.126 H 3.9°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#7B2140
RGBrgb(123, 33, 64)
HSLhsl(339, 58%, 31%)
HSVhsv(339, 73%, 48%)
CMYKcmyk(0%, 73.2%, 48%, 51.8%)
CIE-LABlab(28.56, 41.07, 3.19)
CIE-LCHlch(28.56, 41.20, 4.44°)
OKLaboklab(40.05% 0.1256 0.0086)
OKLCHoklch(40.05% 0.126 3.9)
XYZxyz(9.6384, 5.6701, 5.4364)
Luminance0.0567 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2140 #217B5C
analogous
#7B216D #7B2140 #7B2F21
triadic
#7B2140 #407B21 #21407B
tetradic
#7B2140 #6D7B21 #217B5C #2F217B
square
#7B2140 #6D7B21 #217B5C #2F217B
split-complementary
#7B2140 #217B2F #216D7B
monochromatic
#1A070E #4B1427 #7B2140 #AB2E59 #CE4876

Accessibility & contrast

On white

9.84
#7B2140 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7B2140 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2140
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2140#FFFFFF#000000##FFFFFF
##7B21401.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353841
Deuteranopia (green-blind)
#4D4A3E
Tritanopia (blue-blind)
#86122E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b2140;
/* rgb */ color: rgb(123, 33, 64);
/* oklch */ color: oklch(40.1% 0.126 3.9);
Tailwind
colors: {
  custom: {
    50: '#a66474',
    500: '#7b2140',
    950: '#000000',
  },
}
SCSS
$custom: #7b2140;
$custom-light: #a66474;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2140",
  "rgb": {
    "r": 123,
    "g": 33,
    "b": 64
  },
  "hsl": {
    "h": 339.333,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40052,
    "c": 0.1259,
    "h": 3.9
  },
  "luminance": 0.05669
}

Semantic roles & 50–950 ramp

primary
#7B2140
secondary
#4AAE8B
accent
#E1AC47
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7B2140

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

Preview Lab → · Contrast checker → · Palette generator →

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