#C031AB#C031AB

#C031AB is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.6% C 0.218 H 334.8°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#C031AB
RGBrgb(192, 49, 171)
HSLhsl(309, 59%, 47%)
HSVhsv(309, 74%, 75%)
CMYKcmyk(0%, 74.5%, 10.9%, 24.7%)
CIE-LABlab(47.43, 67.76, -33.99)
CIE-LCHlch(47.43, 75.80, 333.36°)
OKLaboklab(57.57% 0.1975 -0.093)
OKLCHoklch(57.57% 0.218 334.8)
XYZxyz(30.1876, 16.3460, 40.0854)
Luminance0.1634 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C031AB #31C046
analogous
#8D31C0 #C031AB #C03164
triadic
#C031AB #ABC031 #31ABC0
tetradic
#C031AB #C08D31 #31C046 #3164C0
square
#C031AB #C08D31 #31C046 #3164C0
split-complementary
#C031AB #64C031 #31C08D
monochromatic
#5E1854 #8F2580 #C031AB #D559C3 #E18AD4

Accessibility & contrast

On white

4.92
#C031AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#C031AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C031AB
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C031AB#FFFFFF#000000##FFFFFF
##C031AB1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3063AE
Deuteranopia (green-blind)
#6478A8
Tritanopia (blue-blind)
#C93D6B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c031ab;
/* rgb */ color: rgb(192, 49, 171);
/* oklch */ color: oklch(57.6% 0.218 334.8);
Tailwind
colors: {
  custom: {
    50: '#d778c4',
    500: '#c031ab',
    950: '#000000',
  },
}
SCSS
$custom: #c031ab;
$custom-light: #d778c4;
$custom-dark: #000000;
JSON
{
  "hex": "#c031ab",
  "rgb": {
    "r": 192,
    "g": 49,
    "b": 171
  },
  "hsl": {
    "h": 308.811,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57568,
    "c": 0.21827,
    "h": 334.8
  },
  "luminance": 0.16343
}

Semantic roles & 50–950 ramp

primary
#C031AB
secondary
#82CB8C
accent
#E35C45
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C031AB

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

Preview Lab → · Contrast checker → · Palette generator →

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