#7B2267#7B2267

#7B2267 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.8% C 0.146 H 338.3°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#7B2267
RGBrgb(123, 34, 103)
HSLhsl(313, 57%, 31%)
HSVhsv(313, 72%, 48%)
CMYKcmyk(0%, 72.4%, 16.3%, 51.8%)
CIE-LABlab(30.24, 45.72, -19.91)
CIE-LCHlch(30.24, 49.87, 336.47°)
OKLaboklab(41.78% 0.1352 -0.0539)
OKLCHoklch(41.78% 0.146 338.3)
XYZxyz(11.1888, 6.3353, 13.4629)
Luminance0.0633 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2267 #227B36
analogous
#62227B #7B2267 #7B223A
triadic
#7B2267 #677B22 #22677B
tetradic
#7B2267 #7B6222 #227B36 #223A7B
square
#7B2267 #7B6222 #227B36 #223A7B
split-complementary
#7B2267 #3A7B22 #227B62
monochromatic
#1B0717 #4B153F #7B2267 #AB2F8F #CD4AB0

Accessibility & contrast

On white

9.26
#7B2267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7B2267 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2267
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2267#FFFFFF#000000##FFFFFF
##7B22671.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263E69
Deuteranopia (green-blind)
#434C65
Tritanopia (blue-blind)
#822641
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7b2267;
/* rgb */ color: rgb(123, 34, 103);
/* oklch */ color: oklch(41.8% 0.146 338.3);
Tailwind
colors: {
  custom: {
    50: '#a46692',
    500: '#7b2267',
    950: '#000000',
  },
}
SCSS
$custom: #7b2267;
$custom-light: #a46692;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2267",
  "rgb": {
    "r": 123,
    "g": 34,
    "b": 103
  },
  "hsl": {
    "h": 313.483,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41784,
    "c": 0.14557,
    "h": 338.3
  },
  "luminance": 0.06334
}

Semantic roles & 50–950 ramp

primary
#7B2267
secondary
#4BAE61
accent
#E06A48
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7B2267

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

Preview Lab → · Contrast checker → · Palette generator →

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