#7B2255#7B2255

#7B2255 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.9% C 0.134 H 349.4°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#7B2255
RGBrgb(123, 34, 85)
HSLhsl(326, 57%, 31%)
HSVhsv(326, 72%, 48%)
CMYKcmyk(0%, 72.4%, 30.9%, 51.8%)
CIE-LABlab(29.44, 43.13, -9.43)
CIE-LCHlch(29.44, 44.15, 347.66°)
OKLaboklab(40.94% 0.1314 -0.0247)
OKLCHoklch(40.94% 0.134 349.4)
XYZxyz(10.3806, 6.0120, 9.2063)
Luminance0.0601 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2255 #227B48
analogous
#74227B #7B2255 #7B2228
triadic
#7B2255 #557B22 #22557B
tetradic
#7B2255 #7B7422 #227B48 #22287B
square
#7B2255 #7B7422 #227B48 #22287B
split-complementary
#7B2255 #287B22 #227B74
monochromatic
#1B0713 #4B1534 #7B2255 #AB2F76 #CD4A95

Accessibility & contrast

On white

9.54
#7B2255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7B2255 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2255
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2255#FFFFFF#000000##FFFFFF
##7B22551.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3B56
Deuteranopia (green-blind)
#494B53
Tritanopia (blue-blind)
#841E38
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7b2255;
/* rgb */ color: rgb(123, 34, 85);
/* oklch */ color: oklch(40.9% 0.134 349.4);
Tailwind
colors: {
  custom: {
    50: '#a56584',
    500: '#7b2255',
    950: '#000000',
  },
}
SCSS
$custom: #7b2255;
$custom-light: #a56584;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2255",
  "rgb": {
    "r": 123,
    "g": 34,
    "b": 85
  },
  "hsl": {
    "h": 325.618,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40939,
    "c": 0.13367,
    "h": 349.4
  },
  "luminance": 0.06011
}

Semantic roles & 50–950 ramp

primary
#7B2255
secondary
#4BAE75
accent
#E08948
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7B2255

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

Preview Lab → · Contrast checker → · Palette generator →

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