#7C225F#7C225F

#7C225F is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.6% C 0.141 H 343.4°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#7C225F
RGBrgb(124, 34, 95)
HSLhsl(319, 57%, 31%)
HSVhsv(319, 73%, 49%)
CMYKcmyk(0%, 72.6%, 23.4%, 51.4%)
CIE-LABlab(30.05, 44.80, -15.02)
CIE-LCHlch(30.05, 47.25, 341.47°)
OKLaboklab(41.56% 0.1348 -0.0401)
OKLCHoklch(41.56% 0.141 343.4)
XYZxyz(10.9501, 6.2565, 11.4552)
Luminance0.0625 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C225F #227C3F
analogous
#6C227C #7C225F #7C2232
triadic
#7C225F #5F7C22 #225F7C
tetradic
#7C225F #7C6C22 #227C3F #22327C
square
#7C225F #7C6C22 #227C3F #22327C
split-complementary
#7C225F #327C22 #227C6C
monochromatic
#1C0815 #4C153A #7C225F #AC2F84 #CE4BA3

Accessibility & contrast

On white

9.33
#7C225F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C225F
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C225F#FFFFFF#000000##FFFFFF
##7C225F1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3D61
Deuteranopia (green-blind)
#464C5D
Tritanopia (blue-blind)
#84223D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7c225f;
/* rgb */ color: rgb(124, 34, 95);
/* oklch */ color: oklch(41.6% 0.141 343.4);
Tailwind
colors: {
  custom: {
    50: '#a5658c',
    500: '#7c225f',
    950: '#000000',
  },
}
SCSS
$custom: #7c225f;
$custom-light: #a5658c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c225f",
  "rgb": {
    "r": 124,
    "g": 34,
    "b": 95
  },
  "hsl": {
    "h": 319.333,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41557,
    "c": 0.14066,
    "h": 343.4
  },
  "luminance": 0.06255
}

Semantic roles & 50–950 ramp

primary
#7C225F
secondary
#4BAF6B
accent
#E07948
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7C225F

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

Preview Lab → · Contrast checker → · Palette generator →

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