#7B2541#7B2541

#7B2541 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.5% C 0.121 H 4.4°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#7B2541
RGBrgb(123, 37, 65)
HSLhsl(340, 54%, 31%)
HSVhsv(340, 70%, 48%)
CMYKcmyk(0%, 69.9%, 47.2%, 51.8%)
CIE-LABlab(29.20, 39.50, 3.44)
CIE-LCHlch(29.20, 39.65, 4.98°)
OKLaboklab(40.53% 0.1207 0.0093)
OKLCHoklch(40.53% 0.121 4.4)
XYZxyz(9.7848, 5.9170, 5.6268)
Luminance0.0592 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2541 #257B5F
analogous
#7B256C #7B2541 #7B3425
triadic
#7B2541 #417B25 #25417B
tetradic
#7B2541 #6C7B25 #257B5F #34257B
square
#7B2541 #6C7B25 #257B5F #34257B
split-complementary
#7B2541 #257B34 #256C7B
monochromatic
#1D090F #4C1728 #7B2541 #AA335A #CA5078

Accessibility & contrast

On white

9.62
#7B2541 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7B2541 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2541
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2541#FFFFFF#000000##FFFFFF
##7B25411.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373A42
Deuteranopia (green-blind)
#4E4B3F
Tritanopia (blue-blind)
#861930
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7b2541;
/* rgb */ color: rgb(123, 37, 65);
/* oklch */ color: oklch(40.5% 0.121 4.4);
Tailwind
colors: {
  custom: {
    50: '#a56675',
    500: '#7b2541',
    950: '#000000',
  },
}
SCSS
$custom: #7b2541;
$custom-light: #a56675;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2541",
  "rgb": {
    "r": 123,
    "g": 37,
    "b": 65
  },
  "hsl": {
    "h": 340.465,
    "s": 53.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40534,
    "c": 0.121,
    "h": 4.4
  },
  "luminance": 0.05916
}

Semantic roles & 50–950 ramp

primary
#7B2541
secondary
#4FAD8E
accent
#DDAD4B
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7B2541

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

Preview Lab → · Contrast checker → · Palette generator →

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