#C733A1#C733A1

#C733A1 is a mid, highly saturated pink. Relative luminance 0.171; OKLCH L 58.3% C 0.214 H 340.4°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#C733A1
RGBrgb(199, 51, 161)
HSLhsl(315, 59%, 49%)
HSVhsv(315, 74%, 78%)
CMYKcmyk(0%, 74.4%, 19.1%, 22%)
CIE-LABlab(48.37, 67.36, -26.50)
CIE-LCHlch(48.37, 72.38, 338.52°)
OKLaboklab(58.32% 0.2012 -0.0715)
OKLCHoklch(58.32% 0.214 340.4)
XYZxyz(31.1710, 17.0861, 35.3676)
Luminance0.1708 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C733A1 #33C759
analogous
#A333C7 #C733A1 #C73357
triadic
#C733A1 #A1C733 #33A1C7
tetradic
#C733A1 #C7A333 #33C759 #3357C7
square
#C733A1 #C7A333 #33C759 #3357C7
split-complementary
#C733A1 #57C733 #33C7A3
monochromatic
#661A52 #96277A #C733A1 #D661B8 #E391CE

Accessibility & contrast

On white

4.75
#C733A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#C733A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C733A1
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C733A1#FFFFFF#000000##FFFFFF
##C733A11.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E64A4
Deuteranopia (green-blind)
#6E7B9E
Tritanopia (blue-blind)
#D33766
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c733a1;
/* rgb */ color: rgb(199, 51, 161);
/* oklch */ color: oklch(58.3% 0.214 340.4);
Tailwind
colors: {
  custom: {
    50: '#dc79bd',
    500: '#c733a1',
    950: '#000000',
  },
}
SCSS
$custom: #c733a1;
$custom-light: #dc79bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c733a1",
  "rgb": {
    "r": 199,
    "g": 51,
    "b": 161
  },
  "hsl": {
    "h": 315.405,
    "s": 59.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58321,
    "c": 0.21356,
    "h": 340.4
  },
  "luminance": 0.17083
}

Semantic roles & 50–950 ramp

primary
#C733A1
secondary
#88CE9A
accent
#E26E45
background
#FEF7FB
surface
#FCEEF6
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #C733A1

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

Preview Lab → · Contrast checker → · Palette generator →

#C733A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva