#7B2252#7B2252

#7B2252 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.8% C 0.132 H 351.4°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#7B2252
RGBrgb(123, 34, 82)
HSLhsl(328, 57%, 31%)
HSVhsv(328, 72%, 48%)
CMYKcmyk(0%, 72.4%, 33.3%, 51.8%)
CIE-LABlab(29.32, 42.73, -7.64)
CIE-LCHlch(29.32, 43.41, 349.87°)
OKLaboklab(40.81% 0.1305 -0.0198)
OKLCHoklch(40.81% 0.132 351.4)
XYZxyz(10.2639, 5.9654, 8.5919)
Luminance0.0596 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2252 #227B4B
analogous
#77227B #7B2252 #7B2226
triadic
#7B2252 #527B22 #22527B
tetradic
#7B2252 #7B7722 #227B4B #22267B
square
#7B2252 #7B7722 #227B4B #22267B
split-complementary
#7B2252 #267B22 #227B77
monochromatic
#1B0712 #4B1532 #7B2252 #AB2F72 #CD4A91

Accessibility & contrast

On white

9.58
#7B2252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7B2252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2252
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2252#FFFFFF#000000##FFFFFF
##7B22521.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303B53
Deuteranopia (green-blind)
#494B50
Tritanopia (blue-blind)
#841C37
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7b2252;
/* rgb */ color: rgb(123, 34, 82);
/* oklch */ color: oklch(40.8% 0.132 351.4);
Tailwind
colors: {
  custom: {
    50: '#a56582',
    500: '#7b2252',
    950: '#000000',
  },
}
SCSS
$custom: #7b2252;
$custom-light: #a56582;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2252",
  "rgb": {
    "r": 123,
    "g": 34,
    "b": 82
  },
  "hsl": {
    "h": 327.64,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40814,
    "c": 0.13201,
    "h": 351.4
  },
  "luminance": 0.05964
}

Semantic roles & 50–950 ramp

primary
#7B2252
secondary
#4BAE79
accent
#E08E48
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7B2252

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

Preview Lab → · Contrast checker → · Palette generator →

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