#7B2A45#7B2A45

#7B2A45 is a dark, moderate pink. Relative luminance 0.063; OKLCH L 41.3% C 0.115 H 3.0°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#7B2A45
RGBrgb(123, 42, 69)
HSLhsl(340, 49%, 32%)
HSVhsv(340, 66%, 48%)
CMYKcmyk(0%, 65.9%, 43.9%, 51.8%)
CIE-LABlab(30.15, 37.67, 2.16)
CIE-LCHlch(30.15, 37.73, 3.28°)
OKLaboklab(41.28% 0.115 0.006)
OKLCHoklch(41.28% 0.115 3)
XYZxyz(10.0712, 6.2977, 6.3143)
Luminance0.0630 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2A45 #2A7B60
analogous
#7B2A6E #7B2A45 #7B382A
triadic
#7B2A45 #457B2A #2A457B
tetradic
#7B2A45 #6E7B2A #2A7B60 #382A7B
square
#7B2A45 #6E7B2A #2A7B60 #382A7B
split-complementary
#7B2A45 #2A7B38 #2A6E7B
monochromatic
#200B12 #4D1A2B #7B2A45 #A93A5F #C6597D

Accessibility & contrast

On white

9.29
#7B2A45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7B2A45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2A45
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2A45#FFFFFF#000000##FFFFFF
##7B2A451.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3D46
Deuteranopia (green-blind)
#4F4D43
Tritanopia (blue-blind)
#852035
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7b2a45;
/* rgb */ color: rgb(123, 42, 69);
/* oklch */ color: oklch(41.3% 0.115 3.0);
Tailwind
colors: {
  custom: {
    50: '#a56978',
    500: '#7b2a45',
    950: '#000000',
  },
}
SCSS
$custom: #7b2a45;
$custom-light: #a56978;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2a45",
  "rgb": {
    "r": 123,
    "g": 42,
    "b": 69
  },
  "hsl": {
    "h": 340,
    "s": 49.091,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41278,
    "c": 0.11519,
    "h": 3
  },
  "luminance": 0.06297
}

Semantic roles & 50–950 ramp

primary
#7B2A45
secondary
#55AC8F
accent
#D9AB4F
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7B2A45

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

Preview Lab → · Contrast checker → · Palette generator →

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