#7B224E#7B224E

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

Color values

HEX#7B224E
RGBrgb(123, 34, 78)
HSLhsl(330, 57%, 31%)
HSVhsv(330, 72%, 48%)
CMYKcmyk(0%, 72.4%, 36.6%, 51.8%)
CIE-LABlab(29.17, 42.24, -5.22)
CIE-LCHlch(29.17, 42.56, 352.95°)
OKLaboklab(40.65% 0.1293 -0.0133)
OKLCHoklch(40.65% 0.13 354.1)
XYZxyz(10.1162, 5.9062, 7.8135)
Luminance0.0590 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B224E #227B4F
analogous
#7B227A #7B224E #7B2222
triadic
#7B224E #4E7B22 #224E7B
tetradic
#7B224E #7A7B22 #227B4F #22227B
square
#7B224E #7A7B22 #227B4F #22227B
split-complementary
#7B224E #227B22 #227A7B
monochromatic
#1B0711 #4B1530 #7B224E #AB2F6C #CD4A8B

Accessibility & contrast

On white

9.63
#7B224E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B224E
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B224E#FFFFFF#000000##FFFFFF
##7B224E1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323A4F
Deuteranopia (green-blind)
#4A4B4C
Tritanopia (blue-blind)
#851A35
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7b224e;
/* rgb */ color: rgb(123, 34, 78);
/* oklch */ color: oklch(40.7% 0.130 354.1);
Tailwind
colors: {
  custom: {
    50: '#a5657f',
    500: '#7b224e',
    950: '#000000',
  },
}
SCSS
$custom: #7b224e;
$custom-light: #a5657f;
$custom-dark: #000000;
JSON
{
  "hex": "#7b224e",
  "rgb": {
    "r": 123,
    "g": 34,
    "b": 78
  },
  "hsl": {
    "h": 330.337,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40654,
    "c": 0.12997,
    "h": 354.1
  },
  "luminance": 0.05905
}

Semantic roles & 50–950 ramp

primary
#7B224E
secondary
#4BAE7D
accent
#E09548
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7B224E

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

Preview Lab → · Contrast checker → · Palette generator →

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