#7B2253#7B2253

#7B2253 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.9% C 0.133 H 350.7°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#7B2253
RGBrgb(123, 34, 83)
HSLhsl(327, 57%, 31%)
HSVhsv(327, 72%, 48%)
CMYKcmyk(0%, 72.4%, 32.5%, 51.8%)
CIE-LABlab(29.36, 42.86, -8.24)
CIE-LCHlch(29.36, 43.65, 349.12°)
OKLaboklab(40.86% 0.1308 -0.0214)
OKLCHoklch(40.86% 0.133 350.7)
XYZxyz(10.3023, 5.9807, 8.7938)
Luminance0.0598 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2253 #227B4A
analogous
#76227B #7B2253 #7B2226
triadic
#7B2253 #537B22 #22537B
tetradic
#7B2253 #7B7622 #227B4A #22267B
square
#7B2253 #7B7622 #227B4A #22267B
split-complementary
#7B2253 #267B22 #227B76
monochromatic
#1B0712 #4B1533 #7B2253 #AB2F73 #CD4A92

Accessibility & contrast

On white

9.56
#7B2253 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7B2253 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2253
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2253#FFFFFF#000000##FFFFFF
##7B22531.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303B54
Deuteranopia (green-blind)
#494B51
Tritanopia (blue-blind)
#841D37
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7b2253;
/* rgb */ color: rgb(123, 34, 83);
/* oklch */ color: oklch(40.9% 0.133 350.7);
Tailwind
colors: {
  custom: {
    50: '#a56583',
    500: '#7b2253',
    950: '#000000',
  },
}
SCSS
$custom: #7b2253;
$custom-light: #a56583;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2253",
  "rgb": {
    "r": 123,
    "g": 34,
    "b": 83
  },
  "hsl": {
    "h": 326.966,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40855,
    "c": 0.13255,
    "h": 350.7
  },
  "luminance": 0.0598
}

Semantic roles & 50–950 ramp

primary
#7B2253
secondary
#4BAE77
accent
#E08C48
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7B2253

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

Preview Lab → · Contrast checker → · Palette generator →

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