#7B2264#7B2264

#7B2264 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.6% C 0.143 H 340.0°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#7B2264
RGBrgb(123, 34, 100)
HSLhsl(316, 57%, 31%)
HSVhsv(316, 72%, 48%)
CMYKcmyk(0%, 72.4%, 18.7%, 51.8%)
CIE-LABlab(30.10, 45.26, -18.20)
CIE-LCHlch(30.10, 48.78, 338.10°)
OKLaboklab(41.63% 0.1347 -0.0491)
OKLCHoklch(41.63% 0.143 340)
XYZxyz(11.0409, 6.2762, 12.6841)
Luminance0.0628 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2264 #227B39
analogous
#65227B #7B2264 #7B2237
triadic
#7B2264 #647B22 #22647B
tetradic
#7B2264 #7B6522 #227B39 #22377B
square
#7B2264 #7B6522 #227B39 #22377B
split-complementary
#7B2264 #377B22 #227B65
monochromatic
#1B0716 #4B153D #7B2264 #AB2F8B #CD4AAB

Accessibility & contrast

On white

9.31
#7B2264 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7B2264 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2264
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2264#FFFFFF#000000##FFFFFF
##7B22641.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283E66
Deuteranopia (green-blind)
#444C62
Tritanopia (blue-blind)
#822540
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7b2264;
/* rgb */ color: rgb(123, 34, 100);
/* oklch */ color: oklch(41.6% 0.143 340.0);
Tailwind
colors: {
  custom: {
    50: '#a46590',
    500: '#7b2264',
    950: '#000000',
  },
}
SCSS
$custom: #7b2264;
$custom-light: #a46590;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2264",
  "rgb": {
    "r": 123,
    "g": 34,
    "b": 100
  },
  "hsl": {
    "h": 315.506,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41632,
    "c": 0.14339,
    "h": 340
  },
  "luminance": 0.06275
}

Semantic roles & 50–950 ramp

primary
#7B2264
secondary
#4BAE65
accent
#E06F48
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7B2264

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

Preview Lab → · Contrast checker → · Palette generator →

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