#7B224C#7B224C

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

Color values

HEX#7B224C
RGBrgb(123, 34, 76)
HSLhsl(332, 57%, 31%)
HSVhsv(332, 72%, 48%)
CMYKcmyk(0%, 72.4%, 38.2%, 51.8%)
CIE-LABlab(29.10, 41.99, -4.01)
CIE-LCHlch(29.10, 42.18, 354.55°)
OKLaboklab(40.58% 0.1286 -0.01)
OKLCHoklch(40.58% 0.129 355.5)
XYZxyz(10.0455, 5.8780, 7.4416)
Luminance0.0588 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B224C #227B51
analogous
#7B2278 #7B224C #7B2422
triadic
#7B224C #4C7B22 #224C7B
tetradic
#7B224C #787B22 #227B51 #24227B
square
#7B224C #787B22 #227B51 #24227B
split-complementary
#7B224C #227B24 #22787B
monochromatic
#1B0711 #4B152E #7B224C #AB2F6A #CD4A88

Accessibility & contrast

On white

9.65
#7B224C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B224C
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B224C#FFFFFF#000000##FFFFFF
##7B224C1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b224c;
/* rgb */ color: rgb(123, 34, 76);
/* oklch */ color: oklch(40.6% 0.129 355.5);
Tailwind
colors: {
  custom: {
    50: '#a5657e',
    500: '#7b224c',
    950: '#000000',
  },
}
SCSS
$custom: #7b224c;
$custom-light: #a5657e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b224c",
  "rgb": {
    "r": 123,
    "g": 34,
    "b": 76
  },
  "hsl": {
    "h": 331.685,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40577,
    "c": 0.12903,
    "h": 355.5
  },
  "luminance": 0.05877
}

Semantic roles & 50–950 ramp

primary
#7B224C
secondary
#4BAE7F
accent
#E09848
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7B224C

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

Preview Lab → · Contrast checker → · Palette generator →

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