#CF315F#CF315F

#CF315F is a mid, vivid pink. Relative luminance 0.163; OKLCH L 57.1% C 0.194 H 9.2°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#CF315F
RGBrgb(207, 49, 95)
HSLhsl(343, 62%, 50%)
HSVhsv(343, 76%, 81%)
CMYKcmyk(0%, 76.3%, 54.1%, 18.8%)
CIE-LABlab(47.36, 63.13, 12.17)
CIE-LCHlch(47.36, 64.29, 10.91°)
OKLaboklab(57.12% 0.1919 0.0309)
OKLCHoklch(57.12% 0.194 9.2)
XYZxyz(28.8987, 16.2924, 12.4473)
Luminance0.1629 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF315F #31CFA1
analogous
#CF31AE #CF315F #CF5231
triadic
#CF315F #5FCF31 #315FCF
tetradic
#CF315F #AECF31 #31CFA1 #5231CF
square
#CF315F #AECF31 #31CFA1 #5231CF
split-complementary
#CF315F #31CF52 #31AECF
monochromatic
#6C1931 #9E2548 #CF315F #DB6386 #E694AC

Accessibility & contrast

On white

4.93
#CF315F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#CF315F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CF315F
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF315F#FFFFFF#000000##FFFFFF
##CF315F1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5C60
Deuteranopia (green-blind)
#847C5B
Tritanopia (blue-blind)
#E20045
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #cf315f;
/* rgb */ color: rgb(207, 49, 95);
/* oklch */ color: oklch(57.1% 0.194 9.2);
Tailwind
colors: {
  custom: {
    50: '#e4778c',
    500: '#cf315f',
    950: '#000000',
  },
}
SCSS
$custom: #cf315f;
$custom-light: #e4778c;
$custom-dark: #000000;
JSON
{
  "hex": "#cf315f",
  "rgb": {
    "r": 207,
    "g": 49,
    "b": 95
  },
  "hsl": {
    "h": 342.532,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57117,
    "c": 0.19433,
    "h": 9.2
  },
  "luminance": 0.16288
}

Semantic roles & 50–950 ramp

primary
#CF315F
secondary
#8BD1BD
accent
#E5B643
background
#FFF7F8
surface
#FEEEF0
border
#D6C9CB
text
#170A0C
muted
#857C7D

Preview Lab

Preview with #CF315F

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

Preview Lab → · Contrast checker → · Palette generator →

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