#C028A2#C028A2

#C028A2 is a mid, highly saturated pink. Relative luminance 0.153; OKLCH L 56.5% C 0.221 H 337.8°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#C028A2
RGBrgb(192, 40, 162)
HSLhsl(312, 66%, 45%)
HSVhsv(312, 79%, 75%)
CMYKcmyk(0%, 79.2%, 15.6%, 24.7%)
CIE-LABlab(46.09, 69.05, -30.74)
CIE-LCHlch(46.09, 75.58, 336.00°)
OKLaboklab(56.47% 0.2044 -0.0836)
OKLCHoklch(56.47% 0.221 337.8)
XYZxyz(29.0193, 15.3355, 35.6072)
Luminance0.1533 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C028A2 #28C046
analogous
#9228C0 #C028A2 #C02856
triadic
#C028A2 #A2C028 #28A2C0
tetradic
#C028A2 #C09228 #28C046 #2856C0
square
#C028A2 #C09228 #28C046 #2856C0
split-complementary
#C028A2 #56C028 #28C092
monochromatic
#5B134D #8D1D77 #C028A2 #DA4CBE #E47ED0

Accessibility & contrast

On white

5.16
#C028A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#C028A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C028A2
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C028A2#FFFFFF#000000##FFFFFF
##C028A21.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5EA5
Deuteranopia (green-blind)
#65759F
Tritanopia (blue-blind)
#CB3264
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c028a2;
/* rgb */ color: rgb(192, 40, 162);
/* oklch */ color: oklch(56.5% 0.221 337.8);
Tailwind
colors: {
  custom: {
    50: '#d774be',
    500: '#c028a2',
    950: '#000000',
  },
}
SCSS
$custom: #c028a2;
$custom-light: #d774be;
$custom-dark: #000000;
JSON
{
  "hex": "#c028a2",
  "rgb": {
    "r": 192,
    "g": 40,
    "b": 162
  },
  "hsl": {
    "h": 311.842,
    "s": 65.517,
    "l": 45.49
  },
  "oklch": {
    "l": 0.56466,
    "c": 0.22086,
    "h": 337.8
  },
  "luminance": 0.15333
}

Semantic roles & 50–950 ramp

primary
#C028A2
secondary
#77CD88
accent
#E8613F
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #C028A2

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

Preview Lab → · Contrast checker → · Palette generator →

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