#7C2256#7C2256

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

Color values

HEX#7C2256
RGBrgb(124, 34, 86)
HSLhsl(325, 57%, 31%)
HSVhsv(325, 73%, 49%)
CMYKcmyk(0%, 72.6%, 30.6%, 51.4%)
CIE-LABlab(29.67, 43.55, -9.73)
CIE-LCHlch(29.67, 44.63, 347.41°)
OKLaboklab(41.15% 0.1327 -0.0255)
OKLCHoklch(41.15% 0.135 349.1)
XYZxyz(10.5644, 6.1022, 9.4238)
Luminance0.0610 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2256 #227C48
analogous
#75227C #7C2256 #7C2229
triadic
#7C2256 #567C22 #22567C
tetradic
#7C2256 #7C7522 #227C48 #22297C
square
#7C2256 #7C7522 #227C48 #22297C
split-complementary
#7C2256 #297C22 #227C75
monochromatic
#1C0813 #4C1535 #7C2256 #AC2F77 #CE4B96

Accessibility & contrast

On white

9.46
#7C2256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C2256
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2256#FFFFFF#000000##FFFFFF
##7C22561.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3C57
Deuteranopia (green-blind)
#494C54
Tritanopia (blue-blind)
#851E39
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7c2256;
/* rgb */ color: rgb(124, 34, 86);
/* oklch */ color: oklch(41.2% 0.135 349.1);
Tailwind
colors: {
  custom: {
    50: '#a56585',
    500: '#7c2256',
    950: '#000000',
  },
}
SCSS
$custom: #7c2256;
$custom-light: #a56585;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2256",
  "rgb": {
    "r": 124,
    "g": 34,
    "b": 86
  },
  "hsl": {
    "h": 325.333,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41153,
    "c": 0.13507,
    "h": 349.1
  },
  "luminance": 0.06101
}

Semantic roles & 50–950 ramp

primary
#7C2256
secondary
#4BAF75
accent
#E08848
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7C2256

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

Preview Lab → · Contrast checker → · Palette generator →

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