#C34798#C34798

#C34798 is a mid, vivid pink. Relative luminance 0.184; OKLCH L 59.2% C 0.180 H 343.9°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#C34798
RGBrgb(195, 71, 152)
HSLhsl(321, 51%, 52%)
HSVhsv(321, 64%, 76%)
CMYKcmyk(0%, 63.6%, 22.1%, 23.5%)
CIE-LABlab(49.95, 57.77, -18.77)
CIE-LCHlch(49.95, 60.74, 342.00°)
OKLaboklab(59.23% 0.1734 -0.05)
OKLCHoklch(59.23% 0.181 343.9)
XYZxyz(30.4274, 18.3785, 31.6446)
Luminance0.1838 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C34798 #47C372
analogous
#B047C3 #C34798 #C3475A
triadic
#C34798 #98C347 #4798C3
tetradic
#C34798 #C3B047 #47C372 #475AC3
square
#C34798 #C3B047 #47C372 #475AC3
split-complementary
#C34798 #5AC347 #47C3B0
monochromatic
#6C2353 #9A3276 #C34798 #D275B2 #E1A3CC

Accessibility & contrast

On white

4.49
#C34798 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#C34798 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C34798
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C34798#FFFFFF#000000##000000
##C347981.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#526A9A
Deuteranopia (green-blind)
#777E95
Tritanopia (blue-blind)
#CF4769
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c34798;
/* rgb */ color: rgb(195, 71, 152);
/* oklch */ color: oklch(59.2% 0.180 343.9);
Tailwind
colors: {
  custom: {
    50: '#d982b6',
    500: '#c34798',
    950: '#000000',
  },
}
SCSS
$custom: #c34798;
$custom-light: #d982b6;
$custom-dark: #000000;
JSON
{
  "hex": "#c34798",
  "rgb": {
    "r": 195,
    "g": 71,
    "b": 152
  },
  "hsl": {
    "h": 320.806,
    "s": 50.82,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59227,
    "c": 0.1805,
    "h": 343.9
  },
  "luminance": 0.18376
}

Semantic roles & 50–950 ramp

primary
#C34798
secondary
#98CEAB
accent
#DA7E4D
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150B11
muted
#837C80

Preview Lab

Preview with #C34798

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

Preview Lab → · Contrast checker → · Palette generator →

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