#F2A7CD#F2A7CD

#F2A7CD is a light, moderate pink. Relative luminance 0.509; OKLCH L 81.1% C 0.100 H 347.8°. Best body text is #000000 at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#F2A7CD
RGBrgb(242, 167, 205)
HSLhsl(330, 74%, 80%)
HSVhsv(330, 31%, 95%)
CMYKcmyk(0%, 31%, 15.3%, 5.1%)
CIE-LABlab(76.63, 33.08, -8.12)
CIE-LCHlch(76.63, 34.06, 346.22°)
OKLaboklab(81.14% 0.0978 -0.0212)
OKLCHoklch(81.14% 0.1 347.8)
XYZxyz(61.4564, 50.9256, 64.3383)
Luminance0.5092 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2A7CD #A7F2CC
analogous
#F1A7F2 #F2A7CD #F2A7A7
triadic
#F2A7CD #CDF2A7 #A7CDF2
tetradic
#F2A7CD #F2F1A7 #A7F2CC #A7A7F2
square
#F2A7CD #F2F1A7 #A7F2CC #A7A7F2
split-complementary
#F2A7CD #A7F2A7 #A7F2F1
monochromatic
#E23C90 #EA72AF #F2A7CD #FADCEB #FBE4F0

Accessibility & contrast

On white

1.88
#F2A7CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.18
#F2A7CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2A7CD
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2A7CD#FFFFFF#000000##000000
##F2A7CD1.001.8811.1811.18
#FFFFFF1.881.0021.0021.00
#00000011.1821.001.001.00
##00000011.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADB6CE
Deuteranopia (green-blind)
#BFC2CB
Tritanopia (blue-blind)
#FCA6B4
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #f2a7cd;
/* rgb */ color: rgb(242, 167, 205);
/* oklch */ color: oklch(81.1% 0.100 347.8);
Tailwind
colors: {
  custom: {
    50: '#f7c2dc',
    500: '#f2a7cd',
    950: '#000000',
  },
}
SCSS
$custom: #f2a7cd;
$custom-light: #f7c2dc;
$custom-dark: #000000;
JSON
{
  "hex": "#f2a7cd",
  "rgb": {
    "r": 242,
    "g": 167,
    "b": 205
  },
  "hsl": {
    "h": 329.6,
    "s": 74.257,
    "l": 80.196
  },
  "oklch": {
    "l": 0.81144,
    "c": 0.10004,
    "h": 347.8
  },
  "luminance": 0.50922
}

Semantic roles & 50–950 ramp

primary
#F2A7CD
secondary
#6CD19E
accent
#D6710F
background
#FFFDFE
surface
#FFF9FC
border
#D7D2D5
text
#171215
muted
#858284

Preview Lab

Preview with #F2A7CD

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

Preview Lab → · Contrast checker → · Palette generator →

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