#7B224D#7B224D

#7B224D is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.6% C 0.130 H 354.8°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#7B224D
RGBrgb(123, 34, 77)
HSLhsl(331, 57%, 31%)
HSVhsv(331, 72%, 48%)
CMYKcmyk(0%, 72.4%, 37.4%, 51.8%)
CIE-LABlab(29.14, 42.11, -4.62)
CIE-LCHlch(29.14, 42.37, 353.74°)
OKLaboklab(40.62% 0.129 -0.0116)
OKLCHoklch(40.62% 0.13 354.8)
XYZxyz(10.0806, 5.8920, 7.6262)
Luminance0.0589 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B224D #227B50
analogous
#7B2279 #7B224D #7B2322
triadic
#7B224D #4D7B22 #224D7B
tetradic
#7B224D #797B22 #227B50 #23227B
square
#7B224D #797B22 #227B50 #23227B
split-complementary
#7B224D #227B23 #22797B
monochromatic
#1B0711 #4B152F #7B224D #AB2F6B #CD4A89

Accessibility & contrast

On white

9.64
#7B224D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B224D
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B224D#FFFFFF#000000##FFFFFF
##7B224D1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323A4E
Deuteranopia (green-blind)
#4B4B4B
Tritanopia (blue-blind)
#851A34
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7b224d;
/* rgb */ color: rgb(123, 34, 77);
/* oklch */ color: oklch(40.6% 0.130 354.8);
Tailwind
colors: {
  custom: {
    50: '#a5657e',
    500: '#7b224d',
    950: '#000000',
  },
}
SCSS
$custom: #7b224d;
$custom-light: #a5657e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b224d",
  "rgb": {
    "r": 123,
    "g": 34,
    "b": 77
  },
  "hsl": {
    "h": 331.011,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40616,
    "c": 0.1295,
    "h": 354.8
  },
  "luminance": 0.05891
}

Semantic roles & 50–950 ramp

primary
#7B224D
secondary
#4BAE7E
accent
#E09648
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7B224D

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

Preview Lab → · Contrast checker → · Palette generator →

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