#7C225E#7C225E

#7C225E is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.5% C 0.140 H 344.0°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#7C225E
RGBrgb(124, 34, 94)
HSLhsl(320, 57%, 31%)
HSVhsv(320, 73%, 49%)
CMYKcmyk(0%, 72.6%, 24.2%, 51.4%)
CIE-LABlab(30.01, 44.66, -14.44)
CIE-LCHlch(30.01, 46.93, 342.08°)
OKLaboklab(41.51% 0.1346 -0.0385)
OKLCHoklch(41.51% 0.14 344)
XYZxyz(10.9050, 6.2384, 11.2173)
Luminance0.0624 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C225E #227C40
analogous
#6D227C #7C225E #7C2231
triadic
#7C225E #5E7C22 #225E7C
tetradic
#7C225E #7C6D22 #227C40 #22317C
square
#7C225E #7C6D22 #227C40 #22317C
split-complementary
#7C225E #317C22 #227C6D
monochromatic
#1C0815 #4C153A #7C225E #AC2F82 #CE4BA2

Accessibility & contrast

On white

9.34
#7C225E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7C225E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C225E
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C225E#FFFFFF#000000##FFFFFF
##7C225E1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3D60
Deuteranopia (green-blind)
#474C5C
Tritanopia (blue-blind)
#84223D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7c225e;
/* rgb */ color: rgb(124, 34, 94);
/* oklch */ color: oklch(41.5% 0.140 344.0);
Tailwind
colors: {
  custom: {
    50: '#a5658b',
    500: '#7c225e',
    950: '#000000',
  },
}
SCSS
$custom: #7c225e;
$custom-light: #a5658b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c225e",
  "rgb": {
    "r": 124,
    "g": 34,
    "b": 94
  },
  "hsl": {
    "h": 320,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4151,
    "c": 0.14,
    "h": 344
  },
  "luminance": 0.06237
}

Semantic roles & 50–950 ramp

primary
#7C225E
secondary
#4BAF6C
accent
#E07A48
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7C225E

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

Preview Lab → · Contrast checker → · Palette generator →

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