#7C2248#7C2248

#7C2248 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.6% C 0.128 H 358.8°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#7C2248
RGBrgb(124, 34, 72)
HSLhsl(335, 57%, 31%)
HSVhsv(335, 73%, 49%)
CMYKcmyk(0%, 72.6%, 41.9%, 51.4%)
CIE-LABlab(29.15, 41.84, -1.26)
CIE-LCHlch(29.15, 41.86, 358.28°)
OKLaboklab(40.61% 0.1283 -0.0028)
OKLCHoklch(40.61% 0.128 358.8)
XYZxyz(10.0546, 5.8983, 6.7386)
Luminance0.0590 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2248 #227C56
analogous
#7C2275 #7C2248 #7C2922
triadic
#7C2248 #487C22 #22487C
tetradic
#7C2248 #757C22 #227C56 #29227C
square
#7C2248 #757C22 #227C56 #29227C
split-complementary
#7C2248 #227C29 #22757C
monochromatic
#1C0810 #4C152C #7C2248 #AC2F64 #CE4B82

Accessibility & contrast

On white

9.64
#7C2248 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7C2248 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2248
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2248#FFFFFF#000000##FFFFFF
##7C22481.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343A49
Deuteranopia (green-blind)
#4C4B46
Tritanopia (blue-blind)
#861732
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7c2248;
/* rgb */ color: rgb(124, 34, 72);
/* oklch */ color: oklch(40.6% 0.128 358.8);
Tailwind
colors: {
  custom: {
    50: '#a6657a',
    500: '#7c2248',
    950: '#000000',
  },
}
SCSS
$custom: #7c2248;
$custom-light: #a6657a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2248",
  "rgb": {
    "r": 124,
    "g": 34,
    "b": 72
  },
  "hsl": {
    "h": 334.667,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40606,
    "c": 0.12828,
    "h": 358.8
  },
  "luminance": 0.05897
}

Semantic roles & 50–950 ramp

primary
#7C2248
secondary
#4BAF85
accent
#E0A048
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7C2248

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

Preview Lab → · Contrast checker → · Palette generator →

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