#C730A6#C730A6

#C730A6 is a mid, highly saturated pink. Relative luminance 0.170; OKLCH L 58.3% C 0.220 H 338.6°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#C730A6
RGBrgb(199, 48, 166)
HSLhsl(313, 61%, 48%)
HSVhsv(313, 76%, 78%)
CMYKcmyk(0%, 75.9%, 16.6%, 22%)
CIE-LABlab(48.28, 68.94, -29.61)
CIE-LCHlch(48.28, 75.03, 336.75°)
OKLaboklab(58.33% 0.2046 -0.0803)
OKLCHoklch(58.33% 0.22 338.6)
XYZxyz(31.4938, 17.0123, 37.6941)
Luminance0.1701 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C730A6 #30C751
analogous
#9D30C7 #C730A6 #C7305A
triadic
#C730A6 #A6C730 #30A6C7
tetradic
#C730A6 #C79D30 #30C751 #305AC7
square
#C730A6 #C79D30 #30C751 #305AC7
split-complementary
#C730A6 #5AC730 #30C79D
monochromatic
#641854 #96247D #C730A6 #D85CBD #E48ED1

Accessibility & contrast

On white

4.77
#C730A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#C730A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C730A6
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C730A6#FFFFFF#000000##FFFFFF
##C730A61.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3864A9
Deuteranopia (green-blind)
#6B7BA3
Tritanopia (blue-blind)
#D23868
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c730a6;
/* rgb */ color: rgb(199, 48, 166);
/* oklch */ color: oklch(58.3% 0.220 338.6);
Tailwind
colors: {
  custom: {
    50: '#dc78c0',
    500: '#c730a6',
    950: '#000000',
  },
}
SCSS
$custom: #c730a6;
$custom-light: #dc78c0;
$custom-dark: #000000;
JSON
{
  "hex": "#c730a6",
  "rgb": {
    "r": 199,
    "g": 48,
    "b": 166
  },
  "hsl": {
    "h": 313.113,
    "s": 61.134,
    "l": 48.431
  },
  "oklch": {
    "l": 0.58328,
    "c": 0.21981,
    "h": 338.6
  },
  "luminance": 0.17009
}

Semantic roles & 50–950 ramp

primary
#C730A6
secondary
#85CE95
accent
#E46744
background
#FEF7FB
surface
#FCEEF7
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #C730A6

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

Preview Lab → · Contrast checker → · Palette generator →

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