#C4267F#C4267F

#C4267F is a mid, highly saturated pink. Relative luminance 0.147; OKLCH L 55.4% C 0.205 H 352.1°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#C4267F
RGBrgb(196, 38, 127)
HSLhsl(326, 68%, 46%)
HSVhsv(326, 81%, 77%)
CMYKcmyk(0%, 80.6%, 35.2%, 23.1%)
CIE-LABlab(45.16, 66.23, -10.95)
CIE-LCHlch(45.16, 67.13, 350.61°)
OKLaboklab(55.45% 0.2034 -0.0283)
OKLCHoklch(55.45% 0.205 352.1)
XYZxyz(27.2906, 14.6577, 21.4667)
Luminance0.1465 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4267F #26C46B
analogous
#BA26C4 #C4267F #C42630
triadic
#C4267F #7FC426 #267FC4
tetradic
#C4267F #C4BA26 #26C46B #2630C4
square
#C4267F #C4BA26 #26C46B #2630C4
split-complementary
#C4267F #30C426 #26C4BA
monochromatic
#5D123D #911C5E #C4267F #DC4B9D #E67EB9

Accessibility & contrast

On white

5.34
#C4267F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#C4267F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C4267F
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4267F#FFFFFF#000000##FFFFFF
##C4267F1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465981
Deuteranopia (green-blind)
#73757C
Tritanopia (blue-blind)
#D31250
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c4267f;
/* rgb */ color: rgb(196, 38, 127);
/* oklch */ color: oklch(55.4% 0.205 352.1);
Tailwind
colors: {
  custom: {
    50: '#db73a4',
    500: '#c4267f',
    950: '#000000',
  },
}
SCSS
$custom: #c4267f;
$custom-light: #db73a4;
$custom-dark: #000000;
JSON
{
  "hex": "#c4267f",
  "rgb": {
    "r": 196,
    "g": 38,
    "b": 127
  },
  "hsl": {
    "h": 326.203,
    "s": 67.521,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55447,
    "c": 0.20539,
    "h": 352.1
  },
  "luminance": 0.14654
}

Semantic roles & 50–950 ramp

primary
#C4267F
secondary
#77CE9D
accent
#EA893D
background
#FEF7FA
surface
#FCEDF4
border
#D5C8CE
text
#16090F
muted
#847B7F

Preview Lab

Preview with #C4267F

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

Preview Lab → · Contrast checker → · Palette generator →

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