#CF4271#CF4271

#CF4271 is a mid, vivid pink. Relative luminance 0.184; OKLCH L 59.2% C 0.180 H 4.1°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#CF4271
RGBrgb(207, 66, 113)
HSLhsl(340, 59%, 54%)
HSVhsv(340, 68%, 81%)
CMYKcmyk(0%, 68.1%, 45.4%, 18.8%)
CIE-LABlab(49.93, 58.75, 4.83)
CIE-LCHlch(49.93, 58.95, 4.70°)
OKLaboklab(59.17% 0.1795 0.013)
OKLCHoklch(59.17% 0.18 4.1)
XYZxyz(30.6633, 18.3580, 17.5483)
Luminance0.1835 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4271 #42CFA0
analogous
#CF42B7 #CF4271 #CF5942
triadic
#CF4271 #71CF42 #4271CF
tetradic
#CF4271 #B7CF42 #42CFA0 #5942CF
square
#CF4271 #B7CF42 #42CFA0 #5942CF
split-complementary
#CF4271 #42CF59 #42B7CF
monochromatic
#781F3C #A92B55 #CF4271 #DB7396 #E8A4BA

Accessibility & contrast

On white

4.50
#CF4271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#CF4271 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4271
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4271#FFFFFF#000000##000000
##CF42711.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#616572
Deuteranopia (green-blind)
#86816E
Tritanopia (blue-blind)
#E12D55
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cf4271;
/* rgb */ color: rgb(207, 66, 113);
/* oklch */ color: oklch(59.2% 0.180 4.1);
Tailwind
colors: {
  custom: {
    50: '#e38099',
    500: '#cf4271',
    950: '#000000',
  },
}
SCSS
$custom: #cf4271;
$custom-light: #e38099;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4271",
  "rgb": {
    "r": 207,
    "g": 66,
    "b": 113
  },
  "hsl": {
    "h": 340,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59167,
    "c": 0.18,
    "h": 4.1
  },
  "luminance": 0.18354
}

Semantic roles & 50–950 ramp

primary
#CF4271
secondary
#98D5C0
accent
#E3AE45
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0D
muted
#847C7E

Preview Lab

Preview with #CF4271

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

Preview Lab → · Contrast checker → · Palette generator →

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