#C23271#C23271

#C23271 is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.5% C 0.187 H 358.8°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#C23271
RGBrgb(194, 50, 113)
HSLhsl(334, 59%, 48%)
HSVhsv(334, 74%, 76%)
CMYKcmyk(0%, 74.2%, 41.8%, 23.9%)
CIE-LABlab(45.56, 60.77, -1.80)
CIE-LCHlch(45.56, 60.79, 358.30°)
OKLaboklab(55.52% 0.1866 -0.004)
OKLCHoklch(55.52% 0.187 358.8)
XYZxyz(26.3713, 14.9462, 17.1158)
Luminance0.1494 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23271 #32C283
analogous
#C232B9 #C23271 #C23B32
triadic
#C23271 #71C232 #3271C2
tetradic
#C23271 #B9C232 #32C283 #3B32C2
square
#C23271 #B9C232 #32C283 #3B32C2
split-complementary
#C23271 #32C23B #32B9C2
monochromatic
#611938 #912555 #C23271 #D55C91 #E28DB2

Accessibility & contrast

On white

5.27
#C23271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#C23271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C23271
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C23271#FFFFFF#000000##FFFFFF
##C232711.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515A73
Deuteranopia (green-blind)
#78766E
Tritanopia (blue-blind)
#D21C4D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c23271;
/* rgb */ color: rgb(194, 50, 113);
/* oklch */ color: oklch(55.5% 0.187 358.8);
Tailwind
colors: {
  custom: {
    50: '#da7799',
    500: '#c23271',
    950: '#000000',
  },
}
SCSS
$custom: #c23271;
$custom-light: #da7799;
$custom-dark: #000000;
JSON
{
  "hex": "#c23271",
  "rgb": {
    "r": 194,
    "g": 50,
    "b": 113
  },
  "hsl": {
    "h": 333.75,
    "s": 59.016,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55518,
    "c": 0.18661,
    "h": 358.8
  },
  "luminance": 0.14943
}

Semantic roles & 50–950 ramp

primary
#C23271
secondary
#84CCAC
accent
#E29E46
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #C23271

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

Preview Lab → · Contrast checker → · Palette generator →

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