#7B2268#7B2268

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

Color values

HEX#7B2268
RGBrgb(123, 34, 104)
HSLhsl(313, 57%, 31%)
HSVhsv(313, 72%, 48%)
CMYKcmyk(0%, 72.4%, 15.4%, 51.8%)
CIE-LABlab(30.29, 45.88, -20.48)
CIE-LCHlch(30.29, 50.24, 335.95°)
OKLaboklab(41.84% 0.1354 -0.0555)
OKLCHoklch(41.84% 0.146 337.7)
XYZxyz(11.2393, 6.3555, 13.7288)
Luminance0.0635 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2268 #227B35
analogous
#61227B #7B2268 #7B223B
triadic
#7B2268 #687B22 #22687B
tetradic
#7B2268 #7B6122 #227B35 #223B7B
square
#7B2268 #7B6122 #227B35 #223B7B
split-complementary
#7B2268 #3B7B22 #227B61
monochromatic
#1B0717 #4B153F #7B2268 #AB2F91 #CD4AB1

Accessibility & contrast

On white

9.25
#7B2268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B2268
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2268#FFFFFF#000000##FFFFFF
##7B22681.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253F6A
Deuteranopia (green-blind)
#424C66
Tritanopia (blue-blind)
#822642
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7b2268;
/* rgb */ color: rgb(123, 34, 104);
/* oklch */ color: oklch(41.8% 0.146 337.7);
Tailwind
colors: {
  custom: {
    50: '#a46693',
    500: '#7b2268',
    950: '#000000',
  },
}
SCSS
$custom: #7b2268;
$custom-light: #a46693;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2268",
  "rgb": {
    "r": 123,
    "g": 34,
    "b": 104
  },
  "hsl": {
    "h": 312.809,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41836,
    "c": 0.14632,
    "h": 337.7
  },
  "luminance": 0.06354
}

Semantic roles & 50–950 ramp

primary
#7B2268
secondary
#4BAE60
accent
#E06848
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7B2268

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

Preview Lab → · Contrast checker → · Palette generator →

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