#C730A8#C730A8

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

Color values

HEX#C730A8
RGBrgb(199, 48, 168)
HSLhsl(312, 61%, 48%)
HSVhsv(312, 76%, 78%)
CMYKcmyk(0%, 75.9%, 15.6%, 22%)
CIE-LABlab(48.37, 69.22, -30.65)
CIE-LCHlch(48.37, 75.70, 336.11°)
OKLaboklab(58.43% 0.2048 -0.0833)
OKLCHoklch(58.43% 0.221 337.9)
XYZxyz(31.6787, 17.0862, 38.6678)
Luminance0.1708 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C730A8 #30C74F
analogous
#9A30C7 #C730A8 #C7305C
triadic
#C730A8 #A8C730 #30A8C7
tetradic
#C730A8 #C79A30 #30C74F #305CC7
square
#C730A8 #C79A30 #30C74F #305CC7
split-complementary
#C730A8 #5CC730 #30C79A
monochromatic
#641855 #96247E #C730A8 #D85CBE #E48ED2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C730A8#FFFFFF#000000##FFFFFF
##C730A81.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)
#3764AB
Deuteranopia (green-blind)
#6B7BA5
Tritanopia (blue-blind)
#D23969
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c730a8;
/* rgb */ color: rgb(199, 48, 168);
/* oklch */ color: oklch(58.4% 0.221 337.9);
Tailwind
colors: {
  custom: {
    50: '#dc78c2',
    500: '#c730a8',
    950: '#000000',
  },
}
SCSS
$custom: #c730a8;
$custom-light: #dc78c2;
$custom-dark: #000000;
JSON
{
  "hex": "#c730a8",
  "rgb": {
    "r": 199,
    "g": 48,
    "b": 168
  },
  "hsl": {
    "h": 312.318,
    "s": 61.134,
    "l": 48.431
  },
  "oklch": {
    "l": 0.58425,
    "c": 0.22111,
    "h": 337.9
  },
  "luminance": 0.17083
}

Semantic roles & 50–950 ramp

primary
#C730A8
secondary
#85CE94
accent
#E46544
background
#FEF7FB
surface
#FCEEF7
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #C730A8

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

Preview Lab → · Contrast checker → · Palette generator →

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