#7C2264#7C2264

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

Color values

HEX#7C2264
RGBrgb(124, 34, 100)
HSLhsl(316, 57%, 31%)
HSVhsv(316, 73%, 49%)
CMYKcmyk(0%, 72.6%, 19.4%, 51.4%)
CIE-LABlab(30.28, 45.54, -17.90)
CIE-LCHlch(30.28, 48.93, 338.54°)
OKLaboklab(41.8% 0.1358 -0.0482)
OKLCHoklch(41.8% 0.144 340.4)
XYZxyz(11.1848, 6.3503, 12.6908)
Luminance0.0635 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2264 #227C3A
analogous
#67227C #7C2264 #7C2237
triadic
#7C2264 #647C22 #22647C
tetradic
#7C2264 #7C6722 #227C3A #22377C
square
#7C2264 #7C6722 #227C3A #22377C
split-complementary
#7C2264 #377C22 #227C67
monochromatic
#1C0817 #4C153D #7C2264 #AC2F8B #CE4BAB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C2264#FFFFFF#000000##FFFFFF
##7C22641.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)
#283E66
Deuteranopia (green-blind)
#454D62
Tritanopia (blue-blind)
#842440
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7c2264;
/* rgb */ color: rgb(124, 34, 100);
/* oklch */ color: oklch(41.8% 0.144 340.4);
Tailwind
colors: {
  custom: {
    50: '#a56690',
    500: '#7c2264',
    950: '#000000',
  },
}
SCSS
$custom: #7c2264;
$custom-light: #a56690;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2264",
  "rgb": {
    "r": 124,
    "g": 34,
    "b": 100
  },
  "hsl": {
    "h": 316,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41798,
    "c": 0.14409,
    "h": 340.4
  },
  "luminance": 0.06349
}

Semantic roles & 50–950 ramp

primary
#7C2264
secondary
#4BAF66
accent
#E07048
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7C2264

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

Preview Lab → · Contrast checker → · Palette generator →

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