#CF315A#CF315A

#CF315A is a mid, vivid pink. Relative luminance 0.162; OKLCH L 57.0% C 0.194 H 11.2°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#CF315A
RGBrgb(207, 49, 90)
HSLhsl(344, 62%, 50%)
HSVhsv(344, 76%, 81%)
CMYKcmyk(0%, 76.3%, 56.5%, 18.8%)
CIE-LABlab(47.24, 62.77, 15.08)
CIE-LCHlch(47.24, 64.55, 13.51°)
OKLaboklab(57% 0.19 0.0378)
OKLCHoklch(57% 0.194 11.2)
XYZxyz(28.6787, 16.2044, 11.2885)
Luminance0.1620 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF315A #31CFA6
analogous
#CF31A9 #CF315A #CF5731
triadic
#CF315A #5ACF31 #315ACF
tetradic
#CF315A #A9CF31 #31CFA6 #5731CF
square
#CF315A #A9CF31 #31CFA6 #5731CF
split-complementary
#CF315A #31CF57 #31A9CF
monochromatic
#6C192F #9E2544 #CF315A #DB6382 #E694AA

Accessibility & contrast

On white

4.95
#CF315A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#CF315A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CF315A
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF315A#FFFFFF#000000##FFFFFF
##CF315A1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5B5B
Deuteranopia (green-blind)
#847C56
Tritanopia (blue-blind)
#E20042
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #cf315a;
/* rgb */ color: rgb(207, 49, 90);
/* oklch */ color: oklch(57.0% 0.194 11.2);
Tailwind
colors: {
  custom: {
    50: '#e57788',
    500: '#cf315a',
    950: '#000000',
  },
}
SCSS
$custom: #cf315a;
$custom-light: #e57788;
$custom-dark: #000000;
JSON
{
  "hex": "#cf315a",
  "rgb": {
    "r": 207,
    "g": 49,
    "b": 90
  },
  "hsl": {
    "h": 344.43,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56995,
    "c": 0.19367,
    "h": 11.2
  },
  "luminance": 0.162
}

Semantic roles & 50–950 ramp

primary
#CF315A
secondary
#8BD1BF
accent
#E5BB43
background
#FFF7F8
surface
#FEEEEF
border
#D6C9CA
text
#170A0B
muted
#857C7C

Preview Lab

Preview with #CF315A

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

Preview Lab → · Contrast checker → · Palette generator →

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