#7B2168#7B2168

#7B2168 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.7% C 0.148 H 337.6°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#7B2168
RGBrgb(123, 33, 104)
HSLhsl(313, 58%, 31%)
HSVhsv(313, 73%, 48%)
CMYKcmyk(0%, 73.2%, 15.4%, 51.8%)
CIE-LABlab(30.16, 46.27, -20.69)
CIE-LCHlch(30.16, 50.68, 335.91°)
OKLaboklab(41.74% 0.1365 -0.0561)
OKLCHoklch(41.74% 0.148 337.6)
XYZxyz(11.2111, 6.2992, 13.7194)
Luminance0.0630 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2168 #217B34
analogous
#61217B #7B2168 #7B213B
triadic
#7B2168 #687B21 #21687B
tetradic
#7B2168 #7B6121 #217B34 #213B7B
square
#7B2168 #7B6121 #217B34 #213B7B
split-complementary
#7B2168 #3B7B21 #217B61
monochromatic
#1A0716 #4B143F #7B2168 #AB2E91 #CE48B2

Accessibility & contrast

On white

9.29
#7B2168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B2168
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2168#FFFFFF#000000##FFFFFF
##7B21681.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243E6A
Deuteranopia (green-blind)
#424C66
Tritanopia (blue-blind)
#822641
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7b2168;
/* rgb */ color: rgb(123, 33, 104);
/* oklch */ color: oklch(41.7% 0.148 337.6);
Tailwind
colors: {
  custom: {
    50: '#a46593',
    500: '#7b2168',
    950: '#000000',
  },
}
SCSS
$custom: #7b2168;
$custom-light: #a46593;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2168",
  "rgb": {
    "r": 123,
    "g": 33,
    "b": 104
  },
  "hsl": {
    "h": 312.667,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41737,
    "c": 0.14761,
    "h": 337.6
  },
  "luminance": 0.06298
}

Semantic roles & 50–950 ramp

primary
#7B2168
secondary
#4AAE5F
accent
#E16747
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7B2168

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

Preview Lab → · Contrast checker → · Palette generator →

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