#C23791#C23791

#C23791 is a mid, vivid pink. Relative luminance 0.162; OKLCH L 57.2% C 0.196 H 345.4°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#C23791
RGBrgb(194, 55, 145)
HSLhsl(321, 56%, 49%)
HSVhsv(321, 72%, 76%)
CMYKcmyk(0%, 71.6%, 25.3%, 23.9%)
CIE-LABlab(47.30, 62.70, -18.66)
CIE-LCHlch(47.30, 65.42, 343.43°)
OKLaboklab(57.16% 0.1898 -0.0496)
OKLCHoklch(57.16% 0.196 345.4)
XYZxyz(28.7263, 16.2491, 28.4061)
Luminance0.1625 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23791 #37C268
analogous
#AE37C2 #C23791 #C2374C
triadic
#C23791 #91C237 #3791C2
tetradic
#C23791 #C2AE37 #37C268 #374CC2
square
#C23791 #C2AE37 #37C268 #374CC2
split-complementary
#C23791 #4CC237 #37C2AE
monochromatic
#631C4A #92296D #C23791 #D363AC #E093C5

Accessibility & contrast

On white

4.94
#C23791 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#C23791 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C23791
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C23791#FFFFFF#000000##FFFFFF
##C237911.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486193
Deuteranopia (green-blind)
#71798E
Tritanopia (blue-blind)
#CF355F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c23791;
/* rgb */ color: rgb(194, 55, 145);
/* oklch */ color: oklch(57.2% 0.196 345.4);
Tailwind
colors: {
  custom: {
    50: '#d97ab1',
    500: '#c23791',
    950: '#000000',
  },
}
SCSS
$custom: #c23791;
$custom-light: #d97ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#c23791",
  "rgb": {
    "r": 194,
    "g": 55,
    "b": 145
  },
  "hsl": {
    "h": 321.151,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57163,
    "c": 0.19614,
    "h": 345.4
  },
  "luminance": 0.16246
}

Semantic roles & 50–950 ramp

primary
#C23791
secondary
#89CBA1
accent
#DF7E49
background
#FDF7FA
surface
#FBEEF5
border
#D4C9CF
text
#150A10
muted
#837C7F

Preview Lab

Preview with #C23791

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

Preview Lab → · Contrast checker → · Palette generator →

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