#7C236A#7C236A

#7C236A is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.2% C 0.147 H 337.1°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#7C236A
RGBrgb(124, 35, 106)
HSLhsl(312, 56%, 31%)
HSVhsv(312, 72%, 49%)
CMYKcmyk(0%, 71.8%, 14.5%, 51.4%)
CIE-LABlab(30.71, 46.07, -21.10)
CIE-LCHlch(30.71, 50.67, 335.40°)
OKLaboklab(42.21% 0.1356 -0.0573)
OKLCHoklch(42.21% 0.147 337.1)
XYZxyz(11.5149, 6.5288, 14.2866)
Luminance0.0653 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C236A #237C35
analogous
#61237C #7C236A #7C233D
triadic
#7C236A #6A7C23 #236A7C
tetradic
#7C236A #7C6123 #237C35 #233D7C
square
#7C236A #7C6123 #237C35 #233D7C
split-complementary
#7C236A #3D7C23 #237C61
monochromatic
#1D0818 #4C1641 #7C236A #AC3093 #CD4DB3

Accessibility & contrast

On white

9.11
#7C236A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#7C236A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C236A
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C236A#FFFFFF#000000##FFFFFF
##7C236A1.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25406C
Deuteranopia (green-blind)
#434D68
Tritanopia (blue-blind)
#832843
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7c236a;
/* rgb */ color: rgb(124, 35, 106);
/* oklch */ color: oklch(42.2% 0.147 337.1);
Tailwind
colors: {
  custom: {
    50: '#a56695',
    500: '#7c236a',
    950: '#000000',
  },
}
SCSS
$custom: #7c236a;
$custom-light: #a56695;
$custom-dark: #000000;
JSON
{
  "hex": "#7c236a",
  "rgb": {
    "r": 124,
    "g": 35,
    "b": 106
  },
  "hsl": {
    "h": 312.135,
    "s": 55.975,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42205,
    "c": 0.14716,
    "h": 337.1
  },
  "luminance": 0.06528
}

Semantic roles & 50–950 ramp

primary
#7C236A
secondary
#4CAF60
accent
#DF6749
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7C236A

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

Preview Lab → · Contrast checker → · Palette generator →

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