#C231B4#C231B4

#C231B4 is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.3% C 0.226 H 332.4°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#C231B4
RGBrgb(194, 49, 180)
HSLhsl(306, 60%, 48%)
HSVhsv(306, 75%, 76%)
CMYKcmyk(0%, 74.7%, 7.2%, 23.9%)
CIE-LABlab(48.21, 69.54, -38.02)
CIE-LCHlch(48.21, 79.25, 331.33°)
OKLaboklab(58.35% 0.2 -0.1045)
OKLCHoklch(58.35% 0.226 332.4)
XYZxyz(31.5848, 16.9639, 44.7820)
Luminance0.1696 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C231B4 #31C23F
analogous
#8731C2 #C231B4 #C2316C
triadic
#C231B4 #B4C231 #31B4C2
tetradic
#C231B4 #C28731 #31C23F #316CC2
square
#C231B4 #C28731 #31C23F #316CC2
split-complementary
#C231B4 #6CC231 #31C287
monochromatic
#601859 #912587 #C231B4 #D65BCA #E28CDA

Accessibility & contrast

On white

4.78
#C231B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#C231B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C231B4
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C231B4#FFFFFF#000000##FFFFFF
##C231B41.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2865B8
Deuteranopia (green-blind)
#617AB1
Tritanopia (blue-blind)
#CA4170
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c231b4;
/* rgb */ color: rgb(194, 49, 180);
/* oklch */ color: oklch(58.3% 0.226 332.4);
Tailwind
colors: {
  custom: {
    50: '#d878cb',
    500: '#c231b4',
    950: '#000000',
  },
}
SCSS
$custom: #c231b4;
$custom-light: #d878cb;
$custom-dark: #000000;
JSON
{
  "hex": "#c231b4",
  "rgb": {
    "r": 194,
    "g": 49,
    "b": 180
  },
  "hsl": {
    "h": 305.793,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.58346,
    "c": 0.22565,
    "h": 332.4
  },
  "luminance": 0.16961
}

Semantic roles & 50–950 ramp

primary
#C231B4
secondary
#83CC8A
accent
#E35445
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C231B4

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

Preview Lab → · Contrast checker → · Palette generator →

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