#7C2255#7C2255

#7C2255 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.1% C 0.135 H 349.8°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#7C2255
RGBrgb(124, 34, 85)
HSLhsl(326, 57%, 31%)
HSVhsv(326, 73%, 49%)
CMYKcmyk(0%, 72.6%, 31.5%, 51.4%)
CIE-LABlab(29.63, 43.42, -9.13)
CIE-LCHlch(29.63, 44.37, 348.12°)
OKLaboklab(41.11% 0.1324 -0.0238)
OKLCHoklch(41.11% 0.135 349.8)
XYZxyz(10.5244, 6.0862, 9.2131)
Luminance0.0609 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2255 #227C49
analogous
#76227C #7C2255 #7C2228
triadic
#7C2255 #557C22 #22557C
tetradic
#7C2255 #7C7622 #227C49 #22287C
square
#7C2255 #7C7622 #227C49 #22287C
split-complementary
#7C2255 #287C22 #227C76
monochromatic
#1C0813 #4C1534 #7C2255 #AC2F76 #CE4B95

Accessibility & contrast

On white

9.47
#7C2255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7C2255 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2255
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2255#FFFFFF#000000##FFFFFF
##7C22551.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3C56
Deuteranopia (green-blind)
#494C53
Tritanopia (blue-blind)
#851D38
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7c2255;
/* rgb */ color: rgb(124, 34, 85);
/* oklch */ color: oklch(41.1% 0.135 349.8);
Tailwind
colors: {
  custom: {
    50: '#a56584',
    500: '#7c2255',
    950: '#000000',
  },
}
SCSS
$custom: #7c2255;
$custom-light: #a56584;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2255",
  "rgb": {
    "r": 124,
    "g": 34,
    "b": 85
  },
  "hsl": {
    "h": 326,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4111,
    "c": 0.1345,
    "h": 349.8
  },
  "luminance": 0.06085
}

Semantic roles & 50–950 ramp

primary
#7C2255
secondary
#4BAF76
accent
#E08A48
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7C2255

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

Preview Lab → · Contrast checker → · Palette generator →

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