#7B2452#7B2452

#7B2452 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.0% C 0.129 H 351.7°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#7B2452
RGBrgb(123, 36, 82)
HSLhsl(328, 55%, 31%)
HSVhsv(328, 71%, 48%)
CMYKcmyk(0%, 70.7%, 33.3%, 51.8%)
CIE-LABlab(29.62, 41.91, -7.19)
CIE-LCHlch(29.62, 42.53, 350.26°)
OKLaboklab(41.03% 0.1279 -0.0186)
OKLCHoklch(41.03% 0.129 351.7)
XYZxyz(10.3228, 6.0831, 8.6115)
Luminance0.0608 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2452 #247B4D
analogous
#78247B #7B2452 #7B2426
triadic
#7B2452 #527B24 #24527B
tetradic
#7B2452 #7B7824 #247B4D #24267B
square
#7B2452 #7B7824 #247B4D #24267B
split-complementary
#7B2452 #267B24 #247B78
monochromatic
#1C0813 #4C1632 #7B2452 #AA3272 #CB4E90

Accessibility & contrast

On white

9.47
#7B2452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B2452
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2452#FFFFFF#000000##FFFFFF
##7B24521.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323C53
Deuteranopia (green-blind)
#4A4C50
Tritanopia (blue-blind)
#841F37
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7b2452;
/* rgb */ color: rgb(123, 36, 82);
/* oklch */ color: oklch(41.0% 0.129 351.7);
Tailwind
colors: {
  custom: {
    50: '#a56682',
    500: '#7b2452',
    950: '#000000',
  },
}
SCSS
$custom: #7b2452;
$custom-light: #a56682;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2452",
  "rgb": {
    "r": 123,
    "g": 36,
    "b": 82
  },
  "hsl": {
    "h": 328.276,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41031,
    "c": 0.12928,
    "h": 351.7
  },
  "luminance": 0.06082
}

Semantic roles & 50–950 ramp

primary
#7B2452
secondary
#4DAD7B
accent
#DE904A
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7B2452

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

Preview Lab → · Contrast checker → · Palette generator →

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