#C04B98#C04B98

#C04B98 is a mid, vivid pink. Relative luminance 0.185; OKLCH L 59.2% C 0.172 H 343.3°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#C04B98
RGBrgb(192, 75, 152)
HSLhsl(321, 48%, 52%)
HSVhsv(321, 61%, 75%)
CMYKcmyk(0%, 60.9%, 20.8%, 24.7%)
CIE-LABlab(50.11, 55.20, -18.57)
CIE-LCHlch(50.11, 58.24, 341.40°)
OKLaboklab(59.25% 0.1652 -0.0495)
OKLCHoklch(59.25% 0.172 343.3)
XYZxyz(29.9226, 18.5083, 31.6962)
Luminance0.1851 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04B98 #4BC073
analogous
#AE4BC0 #C04B98 #C04B5D
triadic
#C04B98 #98C04B #4B98C0
tetradic
#C04B98 #C0AE4B #4BC073 #4B5DC0
square
#C04B98 #C0AE4B #4BC073 #4B5DC0
split-complementary
#C04B98 #5DC04B #4BC0AE
monochromatic
#6B2553 #983577 #C04B98 #D078B2 #E0A6CC

Accessibility & contrast

On white

4.47
#C04B98 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#C04B98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04B98
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04B98#FFFFFF#000000##000000
##C04B981.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#556B9A
Deuteranopia (green-blind)
#767E95
Tritanopia (blue-blind)
#CB4B6B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c04b98;
/* rgb */ color: rgb(192, 75, 152);
/* oklch */ color: oklch(59.2% 0.172 343.3);
Tailwind
colors: {
  custom: {
    50: '#d684b6',
    500: '#c04b98',
    950: '#000000',
  },
}
SCSS
$custom: #c04b98;
$custom-light: #d684b6;
$custom-dark: #000000;
JSON
{
  "hex": "#c04b98",
  "rgb": {
    "r": 192,
    "g": 75,
    "b": 152
  },
  "hsl": {
    "h": 320.513,
    "s": 48.148,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59249,
    "c": 0.17244,
    "h": 343.3
  },
  "luminance": 0.18506
}

Semantic roles & 50–950 ramp

primary
#C04B98
secondary
#9ACDAB
accent
#D87E50
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150B11
muted
#837C80

Preview Lab

Preview with #C04B98

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

Preview Lab → · Contrast checker → · Palette generator →

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