#C34271#C34271

#C34271 is a mid, vivid pink. Relative luminance 0.167; OKLCH L 57.3% C 0.169 H 1.6°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#C34271
RGBrgb(195, 66, 113)
HSLhsl(338, 52%, 51%)
HSVhsv(338, 66%, 76%)
CMYKcmyk(0%, 66.2%, 42.1%, 23.5%)
CIE-LABlab(47.87, 55.13, 1.60)
CIE-LCHlch(47.87, 55.16, 1.66°)
OKLaboklab(57.26% 0.1686 0.0048)
OKLCHoklch(57.26% 0.169 1.6)
XYZxyz(27.4364, 16.6941, 17.3970)
Luminance0.1669 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C34271 #42C394
analogous
#C342B1 #C34271 #C35342
triadic
#C34271 #71C342 #4271C3
tetradic
#C34271 #B1C342 #42C394 #5342C3
square
#C34271 #B1C342 #42C394 #5342C3
split-complementary
#C34271 #42C353 #42B1C3
monochromatic
#69213C #983056 #C34271 #D27094 #E09FB7

Accessibility & contrast

On white

4.84
#C34271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#C34271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C34271
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C34271#FFFFFF#000000##FFFFFF
##C342711.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6272
Deuteranopia (green-blind)
#7E7B6E
Tritanopia (blue-blind)
#D33255
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c34271;
/* rgb */ color: rgb(195, 66, 113);
/* oklch */ color: oklch(57.3% 0.169 1.6);
Tailwind
colors: {
  custom: {
    50: '#da7e99',
    500: '#c34271',
    950: '#000000',
  },
}
SCSS
$custom: #c34271;
$custom-light: #da7e99;
$custom-dark: #000000;
JSON
{
  "hex": "#c34271",
  "rgb": {
    "r": 195,
    "g": 66,
    "b": 113
  },
  "hsl": {
    "h": 338.14,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57257,
    "c": 0.16869,
    "h": 1.6
  },
  "luminance": 0.16691
}

Semantic roles & 50–950 ramp

primary
#C34271
secondary
#94CDB8
accent
#DBA74D
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#160B0D
muted
#847C7E

Preview Lab

Preview with #C34271

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

Preview Lab → · Contrast checker → · Palette generator →

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